ÎļþÃû´Ó src/main/java/com/lf/server/mapper/sys/RoleMenuMapper.java ÐÞ¸Ä |
| | |
| | | package com.lf.server.mapper.sys; |
| | | |
| | | import com.lf.server.entity.sys.RoleMenuEntity; |
| | | import com.lf.server.entity.sys.RoleMenuAuthEntity; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | public interface RoleMenuMapper { |
| | | public interface RoleMenuAuthMapper { |
| | | /** |
| | | * æ¥è¯¢è®°å½æ° |
| | | * |
| | |
| | | * @param offset åç§»é |
| | | * @return å表 |
| | | */ |
| | | public List<RoleMenuEntity> selectByPage(Integer roleid, Integer limit, Integer offset); |
| | | public List<RoleMenuAuthEntity> selectByPage(Integer roleid, Integer limit, Integer offset); |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ |
| | | * |
| | | * @return |
| | | */ |
| | | public List<RoleMenuEntity> selectAll(); |
| | | public List<RoleMenuAuthEntity> selectAll(); |
| | | |
| | | /** |
| | | * æ ¹æ®IDæ¥è¯¢ |
| | |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public RoleMenuEntity selectById(int id); |
| | | public RoleMenuAuthEntity selectById(int id); |
| | | |
| | | /** |
| | | * æå
¥ä¸æ¡ |
| | |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer insert(RoleMenuEntity entity); |
| | | public Integer insert(RoleMenuAuthEntity entity); |
| | | |
| | | /** |
| | | * æå
¥å¤æ¡ |
| | |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer inserts(List<RoleMenuEntity> list); |
| | | public Integer inserts(List<RoleMenuAuthEntity> list); |
| | | |
| | | /** |
| | | * å é¤ä¸æ¡ |
| | |
| | | * @param entity |
| | | * @return |
| | | */ |
| | | public Integer update(RoleMenuEntity entity); |
| | | public Integer update(RoleMenuAuthEntity entity); |
| | | |
| | | /** |
| | | * æ´æ°å¤æ¡ |
| | |
| | | * @param list |
| | | * @return |
| | | */ |
| | | public Integer updates(List<RoleMenuEntity> list); |
| | | public Integer updates(List<RoleMenuAuthEntity> list); |
| | | } |