延期处理 人员空 判断修改

This commit is contained in:
wyw 2024-04-07 15:55:31 +08:00
parent b19da43c49
commit 4ddcafac31

View File

@ -384,7 +384,7 @@ namespace APT.BS.WebApi.Controllers.Api
userModelNotice = GetEntity<T_FM_USER>(listContent[0].USER_ID.Value);
}
var userModel = GetDepartMentLevelMaster(userModelNotice);//隐患通知责任人
if (userModel != null && userModel.ID != Guid.Empty)
if (userModel != null && !string.IsNullOrEmpty(userModel.NAME))
{
dicApproveUser.Add(3, userModel);//隐患通知责任人 所在的部门级别负责人
}