| File was renamed from dyh-service/dyh-cust/src/main/java/cn/huge/module/ctrole/dao/mapper/CRoleMapper.java |
| | |
| | | package cn.huge.module.ctrole.dao.mapper; |
| | | |
| | | import cn.huge.module.ctrole.domain.po.CRole; |
| | | import cn.huge.module.ctrole.domain.po.CtRole; |
| | | 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 CRoleMapper extends BaseMapper<CRole>{ |
| | | public interface CtRoleMapper extends BaseMapper<CtRole>{ |
| | | |
| | | /** |
| | | * 更新对象 |
| | | * @param entity 对象 |
| | | */ |
| | | void updateCRole(@Param("entity") CRole entity); |
| | | void updateCRole(@Param("entity") CtRole entity); |
| | | |
| | | /** |
| | | * 条件更新对象 |
| | | * @param entity 对象 |
| | | * @param terms 条件 |
| | | */ |
| | | void updateCRoleTerms(@Param("entity") CRole entity, @Param("terms") Map<String, Object> terms); |
| | | void updateCRoleTerms(@Param("entity") CtRole entity, @Param("terms") Map<String, Object> terms); |
| | | |
| | | /** |
| | | * 根据编号物理删除 |
| | |
| | | * @param terms 查询条件集合 |
| | | * @return List<CRole> |
| | | */ |
| | | List<CRole> listTerms(@Param("terms") Map<String, Object> terms); |
| | | List<CtRole> listTerms(@Param("terms") Map<String, Object> terms); |
| | | |
| | | /** |
| | | * 按条件查询实体总数 |
| | |
| | | * @param terms 查询条件集合 |
| | | * @return List<CRole> |
| | | */ |
| | | List<CRole> pageTerms(@Param("page") PageRequest page, @Param("terms") Map<String, Object> terms); |
| | | List<CtRole> pageTerms(@Param("page") PageRequest page, @Param("terms") Map<String, Object> terms); |
| | | |
| | | } |