Interface SecResourceWebRoleMapper

All Superinterfaces:
com.baomidou.mybatisplus.core.mapper.BaseMapper<SecResourceWebRole>, com.baomidou.mybatisplus.core.mapper.Mapper<SecResourceWebRole>

@Repository public interface SecResourceWebRoleMapper extends com.baomidou.mybatisplus.core.mapper.BaseMapper<SecResourceWebRole>
  • Method Summary

    Modifier and Type
    Method
    Description
    查询所有 资源-web,包含角色关联信息
    com.baomidou.mybatisplus.extension.plugins.pagination.Page<SecRole>
    selectRelatedRolesByWebResource(com.baomidou.mybatisplus.extension.plugins.pagination.Page page, Long resourceWebId, cn.sliew.carp.framework.common.dict.security.SecRoleStatus status, String name)
    查询 资源-web 关联的角色
    查询角色关联的 资源-web
    com.baomidou.mybatisplus.extension.plugins.pagination.Page<SecRole>
    selectUnrelatedRolesByWebResource(com.baomidou.mybatisplus.extension.plugins.pagination.Page page, Long resourceWebId, cn.sliew.carp.framework.common.dict.security.SecRoleStatus status, String name)
    查询 资源-web 未关联的角色

    Methods inherited from interface com.baomidou.mybatisplus.core.mapper.BaseMapper

    delete, deleteBatchIds, deleteById, deleteById, deleteById, deleteByIds, deleteByIds, deleteByMap, exists, insert, insert, insert, insertOrUpdate, insertOrUpdate, insertOrUpdate, insertOrUpdate, insertOrUpdate, selectBatchIds, selectBatchIds, selectById, selectByIds, selectByIds, selectByMap, selectByMap, selectCount, selectList, selectList, selectList, selectList, selectMaps, selectMaps, selectMaps, selectMaps, selectMapsPage, selectObjs, selectObjs, selectOne, selectOne, selectPage, update, update, updateById, updateById, updateById
  • Method Details

    • selectRelatedRolesByWebResource

      com.baomidou.mybatisplus.extension.plugins.pagination.Page<SecRole> selectRelatedRolesByWebResource(com.baomidou.mybatisplus.extension.plugins.pagination.Page page, @Param("resourceWebId") Long resourceWebId, @Param("status") cn.sliew.carp.framework.common.dict.security.SecRoleStatus status, @Param("name") String name)
      查询 资源-web 关联的角色
    • selectUnrelatedRolesByWebResource

      com.baomidou.mybatisplus.extension.plugins.pagination.Page<SecRole> selectUnrelatedRolesByWebResource(com.baomidou.mybatisplus.extension.plugins.pagination.Page page, @Param("resourceWebId") Long resourceWebId, @Param("status") cn.sliew.carp.framework.common.dict.security.SecRoleStatus status, @Param("name") String name)
      查询 资源-web 未关联的角色
    • selectAllResourceWebWithAuthorizeStatus

      List<SecResourceWebVO> selectAllResourceWebWithAuthorizeStatus(@Param("roleId") Long roleId, @Param("pid") Long pid)
      查询所有 资源-web,包含角色关联信息
    • selectRelatedWebResourceByRole

      List<SecResourceWeb> selectRelatedWebResourceByRole(@Param("roleId") Long roleId)
      查询角色关联的 资源-web