陶杰
2024-08-22 ee9032d9baf5f33e376d2d2699136e0a7b26bec7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.mzl.flower.mapper.system;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mzl.flower.dto.request.system.SearchRoleDTO;
import com.mzl.flower.dto.response.system.RoleListDTO;
import com.mzl.flower.entity.system.Role;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
@Repository
public interface RoleMapper extends BaseMapper<Role> {
    List<RoleListDTO> searchRole(Page<RoleListDTO> page, @Param("condition") SearchRoleDTO dto);
 
    List<Role> getUserRoleList(final @Param("userId") String userId);
}