未排单查询大板SQL更改

This commit is contained in:
liuzhaotian
2025-03-19 16:40:25 +08:00
parent 452bb73f2c
commit d4d202764f
3 changed files with 7 additions and 6 deletions
@@ -318,7 +318,7 @@ public class DeptServiceImpl implements DeptService {
return;
}
if (!CommonStatusEnum.ENABLE.getStatus().equals(deptDO.getStatus())) {
throw ServiceExceptionUtil.exception(ErrorCodeConstants.DEPT_DISABLE, deptDO.getName());
throw ServiceExceptionUtil.exception(ErrorCodeConstants.DEPT_NOT_ALLOWED_LOGIN, deptDO.getName());
}
// 递归校验上级部门
validParentDept(deptDO);