|
|
@ -192,6 +192,9 @@ public class CustomerStaffServiceImpl extends BaseServiceImpl<CustomerStaffDao, |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result<List<StaffGridListDTO>> selectStaffGridListByUserId(List<UserIdAndPidDTO> customerStaffGridDTOS) { |
|
|
|
if (CollectionUtils.isEmpty(customerStaffGridDTOS)){ |
|
|
|
return new Result<List<StaffGridListDTO>>().ok(new ArrayList<>()); |
|
|
|
} |
|
|
|
List<GovStaffRoleResultDTO> gridManager = staffRoleService.listStaffsInRole(UserRoleConstant.GRID_MANAGER, customerStaffGridDTOS.get(0).getPid(), DataScope.getDefault()); |
|
|
|
List<StaffGridListDTO> staffGridListDTOS = baseDao.selectStaffGridListByUserId(customerStaffGridDTOS); |
|
|
|
for (GovStaffRoleResultDTO govStaffRoleResultDTO : gridManager) { |
|
|
|