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