|
@@ -13,6 +13,7 @@ import com.jeeplus.modules.ruralprojectrecords.entity.RuralProjectRecords;
|
|
|
import com.jeeplus.modules.ruralprojectrecords.enums.ProjectStatusEnum;
|
|
|
import com.jeeplus.modules.ruralprojectrecords.service.RuralProjectMessageService;
|
|
|
import com.jeeplus.modules.sys.entity.Office;
|
|
|
+import com.jeeplus.modules.sys.entity.User;
|
|
|
import com.jeeplus.modules.sys.entity.Workattachment;
|
|
|
import com.jeeplus.modules.sys.service.WorkattachmentService;
|
|
|
import com.jeeplus.modules.sys.utils.UserUtils;
|
|
@@ -85,117 +86,294 @@ public class ApprovalThread extends Thread {
|
|
|
workClientAttachment.setAttachmentFlag("144");
|
|
|
workClientAttachment.setAttachmentId(ruralProjectRecords.getId());
|
|
|
List<Workattachment> fileList = workattachmentService.findList(workClientAttachment);
|
|
|
+
|
|
|
+ //创建一个用于存放签章文件documentId的集合
|
|
|
+ List<String> documentList = Lists.newArrayList();
|
|
|
+
|
|
|
if(fileList.size()>0){
|
|
|
- Workattachment workattachment = fileList.get(0);
|
|
|
- if(StringUtils.isBlank(workattachment.getUrl())){
|
|
|
- disposeResult = "审定单文件存储路径为空,无法进行签章操作,请驳回后重新上传审定单";
|
|
|
- bool = false;
|
|
|
- notification(bool,disposeResult,"","","");
|
|
|
- }
|
|
|
- //下载审定单文件
|
|
|
- String path = null;
|
|
|
- if(System.getProperty("os.name").toLowerCase().contains("win")){
|
|
|
- path = "D:/attachment-file/";
|
|
|
- }else{
|
|
|
- path = "/attachment-file/";
|
|
|
- }
|
|
|
- String file = workattachment.getUrl();
|
|
|
- file = file.replace("amp;","");
|
|
|
- String fileName = file.substring(file.lastIndexOf("/") + 1, file.length());
|
|
|
- String aliyunUrl = Global.getAliyunUrl();
|
|
|
- String aliDownloadUrl = Global.getAliDownloadUrl();
|
|
|
- String cons = "";
|
|
|
- if (file.contains(aliyunUrl)){
|
|
|
- cons = aliyunUrl;
|
|
|
- }else if (file.contains("http://gangwan-app.oss-cn-hangzhou.aliyuncs.com")){
|
|
|
- cons = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com";
|
|
|
- }else {
|
|
|
- cons = aliDownloadUrl;
|
|
|
- }
|
|
|
- String ossKey = file.split(cons+"/")[1];
|
|
|
- new OSSClientUtil().downByStreamSaveLocal(ossKey,fileName,path+fileName);
|
|
|
- //将下载下来的文件转换为file文件
|
|
|
- File srcFile = new File(path+fileName);
|
|
|
- File verticalInvalidFile = new File(path+fileName);
|
|
|
- deleteFile = path+fileName;
|
|
|
-
|
|
|
- //截取文件名称
|
|
|
- String srcFileName = srcFile.getName().substring(0,srcFile.getName().lastIndexOf("."));
|
|
|
- //截取文件后缀名
|
|
|
- String substring = srcFile.getName().substring(srcFile.getName().lastIndexOf(".")+1, srcFile.getName().length());
|
|
|
- if(!"doc".equals(substring.toLowerCase()) && !"docx".equals(substring.toLowerCase()) && !"pdf".equals(substring.toLowerCase())){
|
|
|
- disposeResult = "请上传doc、docx或者pdf的文件进行签章操作";
|
|
|
- bool = false;
|
|
|
- notification(bool,disposeResult,"","","");
|
|
|
- }
|
|
|
- //获取真签单的documentId
|
|
|
- HashMap hashMap = SignaturePostUtil.getDocument(srcFile);
|
|
|
- String code = hashMap.get("code").toString();
|
|
|
-
|
|
|
- if("0".equals(code)){
|
|
|
- String result = hashMap.get("result").toString();
|
|
|
- HashMap documentIdMap = JSON.parseObject(result, HashMap.class);
|
|
|
- documentId = documentIdMap.get("documentId").toString();
|
|
|
- if("".equals(documentId)){
|
|
|
+ //判定是否为内审项目
|
|
|
+ if(("1".equals(ruralProjectRecords.getProjectType()) && "8".equals(ruralProjectRecords.getAttachmentProjectSort())) ||
|
|
|
+ ("2".equals(ruralProjectRecords.getProjectType()) && ("5".equals(ruralProjectRecords.getAttachmentProjectSort())) || "6".equals(ruralProjectRecords.getAttachmentProjectSort()))){
|
|
|
+
|
|
|
+
|
|
|
+ //循环遍历附件信息,并将附件信息的信息生成documentId用于生成签章contractId
|
|
|
+ for (Workattachment workattachment : fileList) {
|
|
|
+ if(StringUtils.isBlank(workattachment.getUrl())){
|
|
|
+ bool = false;
|
|
|
+ disposeResult = "内审报告签章文件存储路径为空,无法进行签章操作,请驳回后重新上传盖章文件";
|
|
|
+ notification(bool,disposeResult,"","","");
|
|
|
+ }else{
|
|
|
+ if(StringUtils.isBlank(workattachment.getUrl())){
|
|
|
+ bool = false;
|
|
|
+ disposeResult = "内审报告签章文件存储路径为空,无法进行签章操作,请驳回后重新上传盖章文件";
|
|
|
+ notification(bool,disposeResult,"","","");
|
|
|
+ }else {
|
|
|
+ //下载审定单文件
|
|
|
+ String path = null;
|
|
|
+ if(System.getProperty("os.name").toLowerCase().contains("win")){
|
|
|
+ path = "D:/attachment-file/";
|
|
|
+ }else{
|
|
|
+ path = "/attachment-file/";
|
|
|
+ }
|
|
|
+ String file = workattachment.getUrl();
|
|
|
+ file = file.replace("amp;","");
|
|
|
+ String fileName = file.substring(file.lastIndexOf("/") + 1, file.length());
|
|
|
+ String aliyunUrl = Global.getAliyunUrl();
|
|
|
+ String aliDownloadUrl = Global.getAliDownloadUrl();
|
|
|
+ String cons = "";
|
|
|
+ if (file.contains(aliyunUrl)){
|
|
|
+ cons = aliyunUrl;
|
|
|
+ }else if (file.contains("http://gangwan-app.oss-cn-hangzhou.aliyuncs.com")){
|
|
|
+ cons = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com";
|
|
|
+ }else {
|
|
|
+ cons = aliDownloadUrl;
|
|
|
+ }
|
|
|
+ String ossKey = file.split(cons+"/")[1];
|
|
|
+ new OSSClientUtil().downByStreamSaveLocal(ossKey,fileName,path+fileName);
|
|
|
+ //将下载下来的文件转换为file文件
|
|
|
+ File srcFile = new File(path+fileName);
|
|
|
+ deleteFile = path+fileName;
|
|
|
+
|
|
|
+ //截取文件后缀名
|
|
|
+ String substring = srcFile.getName().substring(srcFile.getName().lastIndexOf(".")+1, srcFile.getName().length());
|
|
|
+ if(!"doc".equals(substring.toLowerCase()) && !"docx".equals(substring.toLowerCase()) && !"pdf".equals(substring.toLowerCase())){
|
|
|
+ disposeResult = "请上传doc、docx或者pdf的文件进行签章操作";
|
|
|
+ bool = false;
|
|
|
+ notification(bool,disposeResult,"","","");
|
|
|
+ }else{
|
|
|
+
|
|
|
+ //获取真签单的documentId
|
|
|
+ HashMap hashMap = SignaturePostUtil.getDocument(srcFile);
|
|
|
+ String code = hashMap.get("code").toString();
|
|
|
+
|
|
|
+ if("0".equals(code)){
|
|
|
+ String result = hashMap.get("result").toString();
|
|
|
+ HashMap documentIdMap = JSON.parseObject(result, HashMap.class);
|
|
|
+ documentId = documentIdMap.get("documentId").toString();
|
|
|
+ if("".equals(documentId)){
|
|
|
+ disposeResult = "签章文件创建失败,签章文件存在问题";
|
|
|
+ bool = false;
|
|
|
+ notification(bool,disposeResult,"","","");
|
|
|
+ }else{
|
|
|
+ documentList.add(documentId);
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ String message = hashMap.get("message").toString();
|
|
|
+ disposeResult = message;
|
|
|
+ bool = false;
|
|
|
+ notification(bool,disposeResult,"","","");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ Workattachment workattachment = fileList.get(0);
|
|
|
+ if(StringUtils.isBlank(workattachment.getUrl())){
|
|
|
+ disposeResult = "审定单文件存储路径为空,无法进行签章操作,请驳回后重新上传审定单";
|
|
|
bool = false;
|
|
|
- disposeResult = "签章文件创建失败";
|
|
|
notification(bool,disposeResult,"","","");
|
|
|
+ }
|
|
|
+ //下载审定单文件
|
|
|
+ String path = null;
|
|
|
+ if(System.getProperty("os.name").toLowerCase().contains("win")){
|
|
|
+ path = "D:/attachment-file/";
|
|
|
}else{
|
|
|
+ path = "/attachment-file/";
|
|
|
+ }
|
|
|
+ String file = workattachment.getUrl();
|
|
|
+ file = file.replace("amp;","");
|
|
|
+ String fileName = file.substring(file.lastIndexOf("/") + 1, file.length());
|
|
|
+ String aliyunUrl = Global.getAliyunUrl();
|
|
|
+ String aliDownloadUrl = Global.getAliDownloadUrl();
|
|
|
+ String cons = "";
|
|
|
+ if (file.contains(aliyunUrl)){
|
|
|
+ cons = aliyunUrl;
|
|
|
+ }else if (file.contains("http://gangwan-app.oss-cn-hangzhou.aliyuncs.com")){
|
|
|
+ cons = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com";
|
|
|
+ }else {
|
|
|
+ cons = aliDownloadUrl;
|
|
|
+ }
|
|
|
+ String ossKey = file.split(cons+"/")[1];
|
|
|
+ new OSSClientUtil().downByStreamSaveLocal(ossKey,fileName,path+fileName);
|
|
|
+ //将下载下来的文件转换为file文件
|
|
|
+ File srcFile = new File(path+fileName);
|
|
|
+ File verticalInvalidFile = new File(path+fileName);
|
|
|
+ //截取文件名称
|
|
|
+ String srcFileName = srcFile.getName().substring(0,srcFile.getName().lastIndexOf("."));
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ if(documentList.size()>0){
|
|
|
//获取竖版假(空白)签单的documentId
|
|
|
String verticalInvalidDocumentId = SignaturePostUtil.getVerticalInvalidDocument(verticalInvalidFile.getName(),verticalInvalidFile);
|
|
|
- if("".equals(verticalInvalidDocumentId)){
|
|
|
+
|
|
|
+ //先将数据进行保存
|
|
|
+ //签章完成则进行数据的保存
|
|
|
+ ruralProjectRecords.setReportInternalAuditSignatureFlag(0);
|
|
|
+ ruralProjectRecords.setReportInternalAuditSignatureDocumentId(String.join(",", documentList));
|
|
|
+ ruralProjectRecords.setReportInternalAuditSignatureContractId("");
|
|
|
+ ruralProjectRecords.setReportInternalAuditSignatureFileName("报告号:" + projectReportData.getNumber() + ruralProjectRecords.getProjectName() + "内审签章文件");
|
|
|
+ ruralProjectRecords.setReportInternalAuditSignatureUploadFileUser(UserUtils.getUser());
|
|
|
+ ruralProjectRecords.setReportInternalAuditSignatureUploadDate(new Date());
|
|
|
+ //修改签章对应信息文件
|
|
|
+ projectReportDataService.updateReportInternalAuditSignatureInfo(ruralProjectRecords);
|
|
|
+
|
|
|
+
|
|
|
+ //签章完成则进行数据的保存
|
|
|
+ projectReportData.setSignatureFlag(0);
|
|
|
+ projectReportData.setSignatureDocumentId(String.join(",", documentList));
|
|
|
+ projectReportData.setSignatureInvalidDocumentId(verticalInvalidDocumentId);
|
|
|
+ projectReportData.setSignatureContractId("");
|
|
|
+ projectReportData.setSignatureFileName(srcFileName);
|
|
|
+ projectReportData.setSignatureUploadFileUser(UserUtils.getUser());
|
|
|
+ projectReportData.setSignatureUploadDate(new Date());
|
|
|
+ //修改签章对应信息文件
|
|
|
+ projectReportDataService.updateSignatureInfo(projectReportData);
|
|
|
+
|
|
|
+
|
|
|
+ List<String> invalidDocumentList = Lists.newArrayList();
|
|
|
+ documentList.add(verticalInvalidDocumentId);
|
|
|
+ invalidDocumentList.add(verticalInvalidDocumentId);
|
|
|
+ //将空白单的documentId存入数据库种
|
|
|
+ projectReportData.setSignatureInvalidDocumentId(String.join(",", invalidDocumentList));
|
|
|
+
|
|
|
+
|
|
|
+ //根据项目id 和 documentId生成合同id
|
|
|
+ long s1 = System.currentTimeMillis();
|
|
|
+ HashMap contractIdHashMap = ruralProjectMessageService.getSignatureContractId(ruralProjectRecords.getId(), documentList,ruralProjectRecords.getProjectMasterId(),"",projectReportSignature.getSignatureType());
|
|
|
+ String contractIdCode = contractIdHashMap.get("code").toString();
|
|
|
+ String contractId = "";
|
|
|
+ if("0".equals(contractIdCode)){
|
|
|
+ contractId = contractIdHashMap.get("contractId").toString();
|
|
|
+ if("".equals(contractId)){
|
|
|
+ disposeResult = "签章文件创建失败";
|
|
|
+ bool = false;
|
|
|
+ notification(bool,disposeResult,"","","");
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ disposeResult = contractIdHashMap.get("message").toString();
|
|
|
+ bool = false;
|
|
|
+ notification(bool,disposeResult,"","","");
|
|
|
+ }
|
|
|
+ long s2 = System.currentTimeMillis();
|
|
|
+ System.out.println("创建签章合同用时:" + (s2-s1));
|
|
|
+ }else{
|
|
|
+ String message = "签章文件创建失败,签章文件存在问题";
|
|
|
+ disposeResult = message;
|
|
|
+ bool = false;
|
|
|
+ notification(bool,disposeResult,"","","");
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ Workattachment workattachment = fileList.get(0);
|
|
|
+ if(StringUtils.isBlank(workattachment.getUrl())){
|
|
|
+ disposeResult = "审定单文件存储路径为空,无法进行签章操作,请驳回后重新上传审定单";
|
|
|
+ bool = false;
|
|
|
+ notification(bool,disposeResult,"","","");
|
|
|
+ }
|
|
|
+ //下载审定单文件
|
|
|
+ String path = null;
|
|
|
+ if(System.getProperty("os.name").toLowerCase().contains("win")){
|
|
|
+ path = "D:/attachment-file/";
|
|
|
+ }else{
|
|
|
+ path = "/attachment-file/";
|
|
|
+ }
|
|
|
+ String file = workattachment.getUrl();
|
|
|
+ file = file.replace("amp;","");
|
|
|
+ String fileName = file.substring(file.lastIndexOf("/") + 1, file.length());
|
|
|
+ String aliyunUrl = Global.getAliyunUrl();
|
|
|
+ String aliDownloadUrl = Global.getAliDownloadUrl();
|
|
|
+ String cons = "";
|
|
|
+ if (file.contains(aliyunUrl)){
|
|
|
+ cons = aliyunUrl;
|
|
|
+ }else if (file.contains("http://gangwan-app.oss-cn-hangzhou.aliyuncs.com")){
|
|
|
+ cons = "http://gangwan-app.oss-cn-hangzhou.aliyuncs.com";
|
|
|
+ }else {
|
|
|
+ cons = aliDownloadUrl;
|
|
|
+ }
|
|
|
+ String ossKey = file.split(cons+"/")[1];
|
|
|
+ new OSSClientUtil().downByStreamSaveLocal(ossKey,fileName,path+fileName);
|
|
|
+ //将下载下来的文件转换为file文件
|
|
|
+ File srcFile = new File(path+fileName);
|
|
|
+ File verticalInvalidFile = new File(path+fileName);
|
|
|
+ deleteFile = path+fileName;
|
|
|
+
|
|
|
+ //截取文件名称
|
|
|
+ String srcFileName = srcFile.getName().substring(0,srcFile.getName().lastIndexOf("."));
|
|
|
+ //截取文件后缀名
|
|
|
+ String substring = srcFile.getName().substring(srcFile.getName().lastIndexOf(".")+1, srcFile.getName().length());
|
|
|
+ if(!"doc".equals(substring.toLowerCase()) && !"docx".equals(substring.toLowerCase()) && !"pdf".equals(substring.toLowerCase())){
|
|
|
+ disposeResult = "请上传doc、docx或者pdf的文件进行签章操作";
|
|
|
+ bool = false;
|
|
|
+ notification(bool,disposeResult,"","","");
|
|
|
+ }
|
|
|
+ //获取真签单的documentId
|
|
|
+ HashMap hashMap = SignaturePostUtil.getDocument(srcFile);
|
|
|
+ String code = hashMap.get("code").toString();
|
|
|
+
|
|
|
+ if("0".equals(code)){
|
|
|
+ String result = hashMap.get("result").toString();
|
|
|
+ HashMap documentIdMap = JSON.parseObject(result, HashMap.class);
|
|
|
+ documentId = documentIdMap.get("documentId").toString();
|
|
|
+ if("".equals(documentId)){
|
|
|
bool = false;
|
|
|
- disposeResult = "竖版模板文件创建失败";
|
|
|
+ disposeResult = "签章文件创建失败";
|
|
|
notification(bool,disposeResult,"","","");
|
|
|
}else{
|
|
|
- //签章完成则进行数据的保存
|
|
|
- projectReportData.setSignatureFlag(0);
|
|
|
- projectReportData.setSignatureDocumentId(documentId);
|
|
|
- projectReportData.setSignatureInvalidDocumentId(verticalInvalidDocumentId);
|
|
|
- projectReportData.setSignatureContractId("");
|
|
|
- projectReportData.setSignatureFileName(srcFileName);
|
|
|
- projectReportData.setSignatureUploadFileUser(UserUtils.getUser());
|
|
|
- projectReportData.setSignatureUploadDate(new Date());
|
|
|
- //修改签章对应信息文件
|
|
|
- projectReportDataService.updateSignatureInfo(projectReportData);
|
|
|
-
|
|
|
-
|
|
|
- List<String> documentList = Lists.newArrayList();
|
|
|
- List<String> invalidDocumentList = Lists.newArrayList();
|
|
|
- documentList.add(documentId);
|
|
|
- documentList.add(verticalInvalidDocumentId);
|
|
|
- //documentList.add(acrossInvalidDocumentId);
|
|
|
- invalidDocumentList.add(verticalInvalidDocumentId);
|
|
|
- //invalidDocumentList.add(acrossInvalidDocumentId);
|
|
|
- //将空白单的documentId存入数据库种
|
|
|
- projectReportData.setSignatureInvalidDocumentId(String.join(",", invalidDocumentList));
|
|
|
- //根据项目id 和 documentId生成合同id
|
|
|
- HashMap contractIdHashMap = ruralProjectMessageService.getSignatureContractId(ruralProjectRecords.getId(), documentList,ruralProjectRecords.getProjectMasterId(),"",projectReportSignature.getSignatureType());
|
|
|
- String contractIdCode = contractIdHashMap.get("code").toString();
|
|
|
- String contractId = "";
|
|
|
- if("0".equals(contractIdCode)){
|
|
|
- contractId = contractIdHashMap.get("contractId").toString();
|
|
|
- if("".equals(contractId)){
|
|
|
- disposeResult = "签章文件创建失败";
|
|
|
+ //获取竖版假(空白)签单的documentId
|
|
|
+ String verticalInvalidDocumentId = SignaturePostUtil.getVerticalInvalidDocument(verticalInvalidFile.getName(),verticalInvalidFile);
|
|
|
+ if("".equals(verticalInvalidDocumentId)){
|
|
|
+ bool = false;
|
|
|
+ disposeResult = "竖版模板文件创建失败";
|
|
|
+ notification(bool,disposeResult,"","","");
|
|
|
+ }else{
|
|
|
+ //签章完成则进行数据的保存
|
|
|
+ projectReportData.setSignatureFlag(0);
|
|
|
+ projectReportData.setSignatureDocumentId(documentId);
|
|
|
+ projectReportData.setSignatureInvalidDocumentId(verticalInvalidDocumentId);
|
|
|
+ projectReportData.setSignatureContractId("");
|
|
|
+ projectReportData.setSignatureFileName(srcFileName);
|
|
|
+ projectReportData.setSignatureUploadFileUser(UserUtils.getUser());
|
|
|
+ projectReportData.setSignatureUploadDate(new Date());
|
|
|
+ //修改签章对应信息文件
|
|
|
+ projectReportDataService.updateSignatureInfo(projectReportData);
|
|
|
+
|
|
|
+
|
|
|
+ List<String> invalidDocumentList = Lists.newArrayList();
|
|
|
+ documentList.add(documentId);
|
|
|
+ documentList.add(verticalInvalidDocumentId);
|
|
|
+ //documentList.add(acrossInvalidDocumentId);
|
|
|
+ invalidDocumentList.add(verticalInvalidDocumentId);
|
|
|
+ //invalidDocumentList.add(acrossInvalidDocumentId);
|
|
|
+ //将空白单的documentId存入数据库种
|
|
|
+ projectReportData.setSignatureInvalidDocumentId(String.join(",", invalidDocumentList));
|
|
|
+ //根据项目id 和 documentId生成合同id
|
|
|
+ HashMap contractIdHashMap = ruralProjectMessageService.getSignatureContractId(ruralProjectRecords.getId(), documentList,ruralProjectRecords.getProjectMasterId(),"",projectReportSignature.getSignatureType());
|
|
|
+ String contractIdCode = contractIdHashMap.get("code").toString();
|
|
|
+ String contractId = "";
|
|
|
+ if("0".equals(contractIdCode)){
|
|
|
+ contractId = contractIdHashMap.get("contractId").toString();
|
|
|
+ if("".equals(contractId)){
|
|
|
+ disposeResult = "签章文件创建失败";
|
|
|
+ bool = false;
|
|
|
+ notification(bool,disposeResult,"","","");
|
|
|
+ }
|
|
|
+ }else{
|
|
|
bool = false;
|
|
|
+ disposeResult = contractIdHashMap.get("message").toString();
|
|
|
notification(bool,disposeResult,"","","");
|
|
|
}
|
|
|
- }else{
|
|
|
- bool = false;
|
|
|
- disposeResult = contractIdHashMap.get("message").toString();
|
|
|
- notification(bool,disposeResult,"","","");
|
|
|
}
|
|
|
- }
|
|
|
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ String message = hashMap.get("message").toString();
|
|
|
+ bool = false;
|
|
|
+ disposeResult = message;
|
|
|
+ notification(bool,disposeResult,"","","");
|
|
|
}
|
|
|
- }else{
|
|
|
- String message = hashMap.get("message").toString();
|
|
|
- bool = false;
|
|
|
- disposeResult = message;
|
|
|
- notification(bool,disposeResult,"","","");
|
|
|
- }
|
|
|
|
|
|
- //进行静默签署
|
|
|
+ //进行静默签署
|
|
|
/*HashMap signbyCompanyHashMap = ruralProjectMessageService.signbyCompany(contractId, documentList);
|
|
|
if(null != signbyCompanyHashMap){
|
|
|
String signbyCompany = signbyCompanyHashMap.get("code").toString();
|
|
@@ -203,9 +381,11 @@ public class ApprovalThread extends Thread {
|
|
|
disposeResult = signbyCompanyHashMap.get("message").toString();
|
|
|
}
|
|
|
}*/
|
|
|
- //将documentId 和contractId存储到质量复核对应的数据种
|
|
|
- //签章完成则进行数据的保存
|
|
|
- //notification(bool,disposeResult,documentId,contractId,srcFileName);
|
|
|
+ //将documentId 和contractId存储到质量复核对应的数据种
|
|
|
+ //签章完成则进行数据的保存
|
|
|
+ //notification(bool,disposeResult,documentId,contractId,srcFileName);
|
|
|
+ }
|
|
|
+
|
|
|
}else{
|
|
|
disposeResult = "审定单文件未找到,无法进行签章操作";
|
|
|
bool = false;
|