package cn.huge.module.cases.dao.mapper;
|
|
import cn.huge.module.cases.domain.dto.FrontPageListDTO;
|
import cn.huge.module.cases.domain.po.CaseAssistApply;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import org.apache.ibatis.annotations.Param;
|
import org.springframework.data.domain.PageRequest;
|
import org.springframework.stereotype.Repository;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* @title: 联合处置申请信息表持久层业务处理
|
* @Description 此处仅涉及复杂SQL操作,务必不要在此再次写单表的CRUD操作,因为mybatisPlus已经实现。
|
* @company: hugeinfo
|
* @author: wangwh
|
* @time: 2024-09-05 17:25:04
|
* @version 1.0.0
|
*/
|
@Repository
|
public interface CaseAssistApplyMapper extends BaseMapper<CaseAssistApply>{
|
|
/**
|
* 更新对象
|
* @param entity 对象
|
*/
|
void updateCaseAssistApply(@Param("entity") CaseAssistApply entity);
|
|
/**
|
* 条件更新对象
|
* @param entity 对象
|
* @param terms 条件
|
*/
|
void updateCaseAssistApplyTerms(@Param("entity") CaseAssistApply entity, @Param("terms") Map<String, Object> terms);
|
|
/**
|
* 根据编号物理删除
|
* @param id 查询条件集合
|
*/
|
void deleteCaseAssistApply(@Param("id") String id);
|
|
/**
|
* 按条件查询结果集
|
* @param terms 查询条件集合
|
* @return List<CaseAssistApply>
|
*/
|
List<CaseAssistApply> listTerms(@Param("terms") Map<String, Object> terms);
|
|
/**
|
* 按条件查询实体总数
|
* @param terms 查询条件集合
|
* @return long
|
*/
|
long countTerms(@Param("terms") Map<String, Object> terms);
|
|
/**
|
* 按条件查询实体分页结果集
|
* @param page 分页对象
|
* @param terms 查询条件集合
|
* @return List<CaseAssistApply>
|
*/
|
List<CaseAssistApply> pageTerms(@Param("page") PageRequest page, @Param("terms") Map<String, Object> terms);
|
|
/**
|
* 首页查询
|
* @param auditUnitId 审核组织编号
|
* @return long
|
*/
|
long countAssistReview(@Param("auditUnitId") String auditUnitId);
|
|
/**
|
* 首页-待审核条件统计
|
* @param terms 条件
|
* @return long
|
*/
|
long countMyTaskAssistReview(@Param("terms") Map<String, Object> terms);
|
|
/**
|
* 首页-待审核分页查询
|
* @param page 分页对象
|
* @param terms 条件
|
* @return List<FrontPageListDTO>
|
*/
|
List<FrontPageListDTO> pageMyTaskAssistReview(@Param("page") PageRequest page, @Param("terms") Map<String, Object> terms);
|
|
}
|