|
|
|
@ -164,8 +164,10 @@ public class FunctionOutStaffServiceImpl {
|
|
|
|
|
.collect(Collectors.toList());
|
|
|
|
|
subCompanys.addAll(sub);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
List<StaffPO> staffPOS = staffMapper().selectByEcCompany(subCompanys);
|
|
|
|
|
List<StaffPO> staffPOS = new ArrayList<>();
|
|
|
|
|
if (CollectionUtils.isNotEmpty(subCompanys)) {
|
|
|
|
|
staffPOS = staffMapper().selectByEcCompany(subCompanys);
|
|
|
|
|
}
|
|
|
|
|
if (!CollectionUtils.isEmpty(staffPOS)) {
|
|
|
|
|
staffPOS.forEach(item -> {
|
|
|
|
|
if (param.getType().getValue() == 3){
|
|
|
|
@ -193,8 +195,10 @@ public class FunctionOutStaffServiceImpl {
|
|
|
|
|
.collect(Collectors.toList());
|
|
|
|
|
subDepartments.addAll(sub);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
List<StaffPO> staffPOS = staffMapper().selectByEcDepartment(subDepartments);
|
|
|
|
|
List<StaffPO> staffPOS = new ArrayList<>();
|
|
|
|
|
if (CollectionUtils.isNotEmpty(subDepartments)) {
|
|
|
|
|
staffPOS = staffMapper().selectByEcDepartment(subDepartments);
|
|
|
|
|
}
|
|
|
|
|
if (!CollectionUtils.isEmpty(staffPOS)) {
|
|
|
|
|
staffPOS.forEach(item -> {
|
|
|
|
|
if (param.getType().getValue() == 3){
|
|
|
|
|