| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.vci.ubcs.system.user.entity.User; |
| | | import com.vci.ubcs.system.user.excel.UserExcel; |
| | | import org.apache.ibatis.annotations.MapKey; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * Mapper 接口 |
| | |
| | | */ |
| | | List<UserExcel> exportUser(@Param("ew") Wrapper<User> queryWrapper); |
| | | |
| | | List<User> getByRoleUserList(@Param("tenantId") String tenantId, @Param("roleName") String roleName); |
| | | /** |
| | | * 根据角色id查询当前用户以外的所有用户 |
| | | * @param roleId |
| | | * @param userId |
| | | * @return 键值队形式 |
| | | */ |
| | | @MapKey("ID") |
| | | List<Map<String,String>> getUserMap(@Param("roleId") String roleId, @Param("userId") String userId); |
| | | |
| | | } |