文章数据封装接口

This commit is contained in:
ly19960718 2021-06-11 10:14:05 +08:00
parent 12d120b1c8
commit ac5c44393f

View File

@ -125,6 +125,9 @@ public class DepartmentBaseController extends DefaultBaseController {
return list; return list;
} }
List<String> listUsers = roleUserService.listUserId(roleDTO.getRoleId()); List<String> listUsers = roleUserService.listUserId(roleDTO.getRoleId());
if(listUsers.size() == 0){
return list;
}
List<String> userIds = departmentUserService.listUserId(departmentId, listUsers); List<String> userIds = departmentUserService.listUserId(departmentId, listUsers);
if(userIds.size() == 0){ if(userIds.size() == 0){
return list; return list;