Merge branch 'master' of http://121.41.2.71:3000/wyw/mh_jy_safe
This commit is contained in:
commit
b387325bba
@ -558,7 +558,7 @@ namespace APT.FM.WebApi.Controllers.Api.FM
|
|||||||
{
|
{
|
||||||
throw new Exception("岗位不允许为空!");
|
throw new Exception("岗位不允许为空!");
|
||||||
}
|
}
|
||||||
var isRepeat = allUsers.FirstOrDefault(t => t.CODE == entity.CODE);
|
var isRepeat = allUsers.FirstOrDefault(t => t.CODE == entity.CODE && t.ID != entity.ID);
|
||||||
if (isRepeat != null)
|
if (isRepeat != null)
|
||||||
this.ThrowError("050001");
|
this.ThrowError("050001");
|
||||||
if (isAdd == null)
|
if (isAdd == null)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user