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 { List searchRole(Page page, @Param("condition") SearchRoleDTO dto); List getUserRoleList(final @Param("userId") String userId); }