File was renamed from dyh-service/dyh-sys/src/main/java/cn/huge/module/kind/dao/mapper/SyCauseThirdMapper.java |
| | |
| | | package cn.huge.module.kind.dao.mapper; |
| | | |
| | | import cn.huge.module.kind.domain.po.SyCauseThird; |
| | | import cn.huge.module.kind.domain.po.ThirdCause; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.data.domain.PageRequest; |
| | |
| | | * @version 1.0.0 |
| | | */ |
| | | @Repository |
| | | public interface SyCauseThirdMapper extends BaseMapper<SyCauseThird>{ |
| | | public interface ThirdCauseMapper extends BaseMapper<ThirdCause>{ |
| | | |
| | | /** |
| | | * 更新对象 |
| | | * @param entity 对象 |
| | | */ |
| | | void updateSyCauseThird(@Param("entity") SyCauseThird entity); |
| | | void updateSyCauseThird(@Param("entity") ThirdCause entity); |
| | | |
| | | /** |
| | | * 条件更新对象 |
| | | * @param entity 对象 |
| | | * @param terms 条件 |
| | | */ |
| | | void updateSyCauseThirdTerms(@Param("entity") SyCauseThird entity, @Param("terms") Map<String, Object> terms); |
| | | void updateSyCauseThirdTerms(@Param("entity") ThirdCause entity, @Param("terms") Map<String, Object> terms); |
| | | |
| | | /** |
| | | * 根据编号物理删除 |
| | |
| | | * @param terms 查询条件集合 |
| | | * @return List<SyCauseThird> |
| | | */ |
| | | List<SyCauseThird> listTerms(@Param("terms") Map<String, Object> terms); |
| | | List<ThirdCause> listTerms(@Param("terms") Map<String, Object> terms); |
| | | |
| | | /** |
| | | * 按条件查询实体总数 |
| | |
| | | * @param terms 查询条件集合 |
| | | * @return List<SyCauseThird> |
| | | */ |
| | | List<SyCauseThird> pageTerms(@Param("page") PageRequest page, @Param("terms") Map<String, Object> terms); |
| | | List<ThirdCause> pageTerms(@Param("page") PageRequest page, @Param("terms") Map<String, Object> terms); |
| | | |
| | | } |