修改作业许可接口

This commit is contained in:
2023-09-13 14:52:39 +08:00
parent 2a4772c921
commit b17e1900e2
5 changed files with 39 additions and 2 deletions
+5 -2
View File
@@ -1332,6 +1332,8 @@ namespace BLL
IsAgree = x.IsAgree,
Opinion = x.Opinion,
IsFlowEnd = x.IsFlowEnd ?? false,
SignatureUrl = x.SignatureUrl,
AttachUrl = AttachFileService.getFileUrl(x.FlowOperateId)
}).ToList();
return getInfoList;
@@ -2333,7 +2335,7 @@ namespace BLL
updateFlowOperate.IsAgree = newItem.IsAgree;
updateFlowOperate.Opinion = newItem.Opinion;
updateFlowOperate.IsClosed = true;
updateFlowOperate.SignatureUrl = newItem.SignatureUrl;
db.SubmitChanges();
/////增加一条审核明细记录
@@ -2777,7 +2779,8 @@ namespace BLL
IsAgree = x.IsAgree,
Opinion = x.Opinion,
IsFlowEnd = x.IsFlowEnd ?? false,
SignatureUrl = db.Sys_User.First(y => y.UserId == x.OperaterId).SignatureUrl.Replace('\\', '/'),
SignatureUrl = x.SignatureUrl.Replace('\\', '/'),
AttachUrl = AttachFileService.getFileUrl(x.FlowOperateId)
};
return getFlowOperate.FirstOrDefault();
}