移除异常属性

This commit is contained in:
jxx
2025-11-27 13:51:43 +08:00
parent a849238e8e
commit bbbfacf801

View File

@@ -83,7 +83,7 @@ namespace VOL.Sys.Services
{ {
return webResponse.Error("上级组织不能选择自己"); return webResponse.Error("上级组织不能选择自己");
} }
if (_repository.Exists(x => x.ParentId == dept.DepartmentId&&x => x.DepartmentId == dept.ParentId)) if (_repository.Exists(x => x.ParentId == dept.DepartmentId && x.DepartmentId == dept.ParentId))
{ {
return webResponse.Error("不能选择此上级组织"); return webResponse.Error("不能选择此上级组织");
} }