package cn.huge.module.aidata.dao.mapper;
|
|
import cn.huge.module.aidata.domain.po.DyhCaseInfoUnfold;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 调解案件展开信息表 Mapper接口
|
*/
|
public interface DyhCaseInfoUnfoldMapper extends BaseMapper<DyhCaseInfoUnfold> {
|
|
/**
|
* 更新对象
|
* @param entity 对象
|
*/
|
void updateDyhCaseInfoUnfold(DyhCaseInfoUnfold entity);
|
|
/**
|
* 条件更新对象
|
* @param entity 对象
|
* @param terms 条件
|
*/
|
void updateDyhCaseInfoUnfoldTerms(@Param("entity") DyhCaseInfoUnfold entity, @Param("terms") Map<String, Object> terms);
|
|
/**
|
* 根据编号物理删除
|
* @param id 查询条件集合
|
*/
|
void deleteDyhCaseInfoUnfold(String id);
|
|
/**
|
* 按条件查询结果集
|
* @param terms 查询条件集合
|
* @return List<DyhCaseInfoUnfold>
|
*/
|
List<DyhCaseInfoUnfold> listTerms(@Param("terms") Map<String, Object> terms);
|
|
/**
|
* 按条件查询实体总数
|
* @param terms 查询条件集合
|
* @return long
|
*/
|
long countTerms(@Param("terms") Map<String, Object> terms);
|
|
/**
|
* 按条件查询实体分页结果集
|
* @param terms 查询条件集合
|
* @param pageNum 页码
|
* @param pageSize 每页记录数
|
* @return List<DyhCaseInfoUnfold>
|
*/
|
List<DyhCaseInfoUnfold> pageTerms(@Param("terms") Map<String, Object> terms, @Param("pageNum") int pageNum, @Param("pageSize") int pageSize);
|
}
|