| | |
| | | package cn.huge.module.cases.dao.mapper; |
| | | |
| | | import cn.huge.module.cases.domain.dto.CasePageDTO; |
| | | import cn.huge.module.cases.domain.po.CaseInfo; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | |
| | | * @param entity 对象 |
| | | */ |
| | | void updateCaseInfo(@Param("entity") CaseInfo entity); |
| | | |
| | | /** |
| | | * 批量更新对象 |
| | | * @param entity 对象 |
| | | * @param caseIdList |
| | | */ |
| | | void updateCaseInfoList(@Param("entity") CaseInfo entity, @Param("caseIdList")List<String> caseIdList); |
| | | |
| | | /** |
| | | * 条件更新对象 |
| | |
| | | */ |
| | | List<CaseInfo> pageTerms(@Param("page") PageRequest page, @Param("terms") Map<String, Object> terms); |
| | | |
| | | /** |
| | | * 按条件查询实体总数 |
| | | * @param terms 查询条件集合 |
| | | * @return long |
| | | */ |
| | | long countTermsAll(@Param("terms") Map<String, Object> terms); |
| | | |
| | | /** |
| | | * 按条件查询实体分页结果集 |
| | | * @param page 分页对象 |
| | | * @param terms 查询条件集合 |
| | | * @return List<CaseInfo> |
| | | */ |
| | | List<CasePageDTO> pageTermsAll(@Param("page") PageRequest page, @Param("terms") Map<String, Object> terms); |
| | | |
| | | } |