2023-11-22 13:58:34 +08:00
|
|
|
package com.ruoyi.wisdomarbitrate.mapper;
|
|
|
|
|
|
|
|
|
|
import com.ruoyi.wisdomarbitrate.domain.CaseApplication;
|
|
|
|
|
import com.ruoyi.wisdomarbitrate.domain.vo.UpdateSubmitVO;
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @author wangqiong
|
|
|
|
|
* @description 案件日志
|
|
|
|
|
* @date 2023-11-17 14:05
|
|
|
|
|
*/
|
|
|
|
|
@Repository
|
|
|
|
|
public interface CaseApplicationLogMapper {
|
|
|
|
|
int insert(CaseApplication caseApplicationLog);
|
|
|
|
|
|
|
|
|
|
int deleteById(Long id);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CaseApplication selectByCaseIdAndVersion(@Param("caseAppliId")long caseAppliId,@Param("version") int version);
|
|
|
|
|
|
|
|
|
|
Integer selectMaxVersionByCaseId(@Param("caseAppliId")long caseAppliId);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 修改日志表状态
|
|
|
|
|
* @param vo
|
|
|
|
|
*/
|
|
|
|
|
void updateStatus(UpdateSubmitVO vo);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据案件id查询秘书角色最新版本号
|
|
|
|
|
* @param id
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
Integer selectMaxVersionBySecret(@Param("caseAppliId")Long id);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据案件id删除案件记录表和案件关联人日志表
|
|
|
|
|
* @param ids
|
|
|
|
|
*/
|
|
|
|
|
void batchDeleteLog(@Param("ids") List<Long> ids);
|
|
|
|
|
|
2023-11-23 22:51:29 +08:00
|
|
|
CaseApplication selectBeforeCase(@Param("caseId") Long caseId, @Param("version")Integer version);
|
2023-11-22 13:58:34 +08:00
|
|
|
}
|