增加跟单员

This commit is contained in:
Mrking 2024-11-13 21:50:11 +08:00
parent 1c5bdd2989
commit 92497df2a4
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ public class AdminUserServiceImpl implements AdminUserService {
* @return 部门编号集合
*/
private Set<Long> getDeptCondition(Long deptId) {
if (deptId == null) {
if (deptId == null || deptId == 0) {
return Collections.emptySet();
}
Set<Long> deptIds = convertSet(deptService.getChildDeptList(deptId), DeptDO::getId);