1
This commit is contained in:
parent
b7e4551a6b
commit
7d26268f9e
@ -1499,7 +1499,7 @@ namespace APT.FM.WebApi.Controllers.Api.FM
|
||||
var chargeDepart = GetEntity<T_FM_DEPARTMENT>(t=>t.USER_ID == user.ID && t.ENABLE_STATUS == 0);
|
||||
if (chargeDepart != null)
|
||||
{
|
||||
throw new Exception(user.NAME+"是"+ chargeDepart.NAME+"负责人,请先修改后再禁用该人员");
|
||||
throw new Exception(user.NAME+"是"+ chargeDepart.NAME+ "负责人,请先赋予新的负责人再禁用该人员");
|
||||
}
|
||||
user.ENABLE_STATUS = 1;
|
||||
user.APPROVE_ROLE_ID = null;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user