mirror of
https://gitee.com/x_discoverer/Vue.NetCore.git
synced 2025-12-06 07:49:23 +08:00
移除异常属性
This commit is contained in:
@@ -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("不能选择此上级组织");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user