| | |
| | | |
| | | import com.terra.system.entity.all.MenusAuthEntity; |
| | | import com.terra.system.entity.all.PermsAuthEntity; |
| | | import com.terra.system.entity.all.ResAuthEntity; |
| | | import com.terra.system.entity.sys.MenuEntity; |
| | | import com.terra.system.entity.sys.ResEntity; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | |
| | | @Mapper |
| | | @Repository |
| | | public interface PermsMapper { |
| | | /** |
| | | * 根据用户Uid查询资源授权 |
| | | * |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | public List<ResAuthEntity> selectRes(String uid); |
| | | public List<ResEntity> selectRes(String uid); |
| | | |
| | | public List<ResEntity> selectAllRes(); |
| | | |
| | | /** |
| | | * 根据用户Uid查询菜单授权 |