kaiyu
2020-10-20 44cbfba860be1674d876a885d1b8b6cb24cc26e3
src/main/java/com/moral/mapper/RoleMenuMapper.java
@@ -2,17 +2,15 @@
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.moral.common.mapper.BaseMapper;
import com.moral.entity.RoleMenu;
import tk.mybatis.mapper.entity.Example;
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {
    List<RoleMenu> getRoleMenuList(Example example);
    List<Integer> getChannels(@Param("roleId") Integer roleId);
    int deleteByPrimaryKeyOwn(Integer id);
    int updateByPrimaryKey(RoleMenu roleMenu);
    List<Integer> getMenus(@Param("roleId") Integer roleId);
}