审批找不到人报错提示

This commit is contained in:
何美荣 2026-04-16 10:49:28 +08:00
parent 67312a9ff7
commit 2577cd64a7

View File

@ -460,8 +460,8 @@ namespace APT.BaseData.Services.Services.FM
detail.Nav_ApproveUser = null; detail.Nav_ApproveUser = null;
} }
detail.Nav_ApproveRole = t.Nav_ApproveRole; detail.Nav_ApproveRole = t.Nav_ApproveRole;
//if (detail.APPROVE_USER_ID == null) if (detail.APPROVE_USER_ID == null)
// throw new Exception("审批流未找到" + detail.NAME + ",请联系管理员维护"); throw new Exception("审批流未找到" + detail.NAME + ",请到用户列表配置对应审批角色");
if (detail.APPROVE_USER_ID != null) if (detail.APPROVE_USER_ID != null)
appdetails.Add(detail); appdetails.Add(detail);
}); });