荣圣达泛微OA审批,审批时如审批人没有业务权限范围,则增加报错

DS7_JinGang
ddlucky 2 years ago
parent 4af4db6131
commit 796611678c

@ -717,6 +717,11 @@ namespace DSWeb.Areas.Account.Controllers
var bodyList = ChpayapplicationDAL.GetDataList(0, 9999, " cm.payappid in("+ requestid + ")", userid);
if (bodyList == null || bodyList.Count == 0) {
var jsonRespose0 = new JsonResponse { Success = false, Message = "无法查询到业务,请核实审核人的权限范围" };
return new ContentResult() { Content = JsonConvert.Serialize(jsonRespose0) };
}
DBResult result = ChpayapplicationDAL.AuditList(bodyList, userid);
if (result.Message2 == "1")
{

Loading…
Cancel
Save