优化
This commit is contained in:
parent
b23c297749
commit
87452323de
@ -494,13 +494,16 @@ public class StaffServiceImpl extends ServiceImpl<StaffDao, StaffEntity> impleme
|
|||||||
|
|
||||||
}else{
|
}else{
|
||||||
log.info("没有找到父级部门,部门id{}", depId);
|
log.info("没有找到父级部门,部门id{}", depId);
|
||||||
departManagers.setManagers(new ArrayList<>());
|
if(type == 0){
|
||||||
return departManagers;
|
break;
|
||||||
|
}else{
|
||||||
|
departManagers.setManagers(new ArrayList<>());
|
||||||
|
return departManagers;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
/*List<StaffEntity> staffEntities =
|
|
||||||
departmentsStaffRelateService.selectLeadersByDepartmentId(depId);*/
|
|
||||||
departManagers.setManagers(staffEntities);
|
departManagers.setManagers(staffEntities);
|
||||||
if(staffEntities.size() == 0){
|
if(staffEntities.size() == 0){
|
||||||
log.info("无法找到管理人员.部门id{}", depId);
|
log.info("无法找到管理人员.部门id{}", depId);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user