|
|
@@ -77,6 +77,7 @@ import java.util.concurrent.ExecutorService;
|
|
77
|
77
|
import java.util.stream.Collectors;
|
|
78
|
78
|
|
|
79
|
79
|
import static com.google.common.io.Files.getFileExtension;
|
|
|
80
|
+import static com.ruoyi.common.core.domain.AjaxResult.error;
|
|
80
|
81
|
import static com.ruoyi.common.core.domain.AjaxResult.success;
|
|
81
|
82
|
|
|
82
|
83
|
@Slf4j
|
|
|
@@ -180,6 +181,11 @@ public class MsSignSealServiceImpl implements MsSignSealService {
|
|
180
|
181
|
|
|
181
|
182
|
@Override
|
|
182
|
183
|
public SealSignRecord selectSealUrl(MsSignSealDTO dto) throws EsignDemoException {
|
|
|
184
|
+ MsCaseApplication application = msCaseApplicationMapper.selectByPrimaryKey(dto.getCaseId());
|
|
|
185
|
+ if(application == null){
|
|
|
186
|
+ throw new ServiceException("未找到当前案件");
|
|
|
187
|
+ }
|
|
|
188
|
+
|
|
183
|
189
|
Example example = new Example(MsSealSignRecord.class);
|
|
184
|
190
|
Example.Criteria criteria = example.createCriteria();
|
|
185
|
191
|
criteria.andEqualTo("caseAppliId", dto.getCaseId());
|
|
|
@@ -200,6 +206,23 @@ public class MsSignSealServiceImpl implements MsSignSealService {
|
|
200
|
206
|
JsonObject signUrlData = signUrlJsonObject.getAsJsonObject("data");
|
|
201
|
207
|
String url = signUrlData.get("shortUrl").getAsString();
|
|
202
|
208
|
sealSignRecordReslt.setSealUrl(url);
|
|
|
209
|
+ MsCaseLogRecord operLog = new MsCaseLogRecord();
|
|
|
210
|
+ if(StrUtil.isEmpty(SecurityUtils.getUsername())){
|
|
|
211
|
+ throw new ServiceException("未获取到当前登录用户");
|
|
|
212
|
+ }
|
|
|
213
|
+ SysUser sysUser = sysUserMapper.selectUserByUserName(SecurityUtils.getUsername());
|
|
|
214
|
+ if(sysUser==null){
|
|
|
215
|
+ throw new ServiceException("未获取到当前登录用户");
|
|
|
216
|
+ }
|
|
|
217
|
+ // 新增用印日志
|
|
|
218
|
+ operLog.setCreateBy(sysUser.getUserName());
|
|
|
219
|
+ operLog.setCreateNickName(sysUser.getNickName());
|
|
|
220
|
+ operLog.setCaseStatusName(application.getCaseStatusName());
|
|
|
221
|
+ operLog.setCaseAppliId(application.getId());
|
|
|
222
|
+ operLog.setCaseNode(application.getCaseFlowId());
|
|
|
223
|
+ operLog.setCreateTime(new Date());
|
|
|
224
|
+ caseLogRecordMapper.insert(operLog);
|
|
|
225
|
+
|
|
203
|
226
|
}
|
|
204
|
227
|
return sealSignRecordReslt;
|
|
205
|
228
|
}
|
|
|
@@ -316,23 +339,30 @@ public class MsSignSealServiceImpl implements MsSignSealService {
|
|
316
|
339
|
if (record.getCreateTime() != null) {
|
|
317
|
340
|
caseNodeTime = DateUtil.format(record.getCreateTime(), DatePattern.NORM_DATETIME_FORMATTER);
|
|
318
|
341
|
}
|
|
|
342
|
+
|
|
319
|
343
|
Integer caseNode = record.getCaseNode();
|
|
320
|
|
- String createBy = record.getCreateBy();
|
|
321
|
|
- if (StrUtil.isNotEmpty(createBy)) {
|
|
322
|
|
- contentBuilder.append(Optional.ofNullable(record.getCreateNickName()).orElse("")).append("(").append(record.getCreateBy()).append(")").append("于").append(caseNodeTime);
|
|
323
|
|
- } else {
|
|
324
|
|
- contentBuilder.append(Optional.ofNullable(record.getCreateNickName()).orElse("")).append("于").append(caseNodeTime);
|
|
325
|
|
- }
|
|
|
344
|
+ if(caseNode!=null) {
|
|
|
345
|
+ if(caseNode.equals(17)){
|
|
|
346
|
+ contentBuilder.append("调解案件于").append(caseNodeTime).append("结束");
|
|
|
347
|
+ }else {
|
|
|
348
|
+ String createBy = record.getCreateBy();
|
|
|
349
|
+ if (StrUtil.isNotEmpty(createBy)) {
|
|
|
350
|
+ contentBuilder.append(Optional.ofNullable(record.getCreateNickName()).orElse("")).append("(").append(record.getCreateBy()).append(")").append("于").append(caseNodeTime);
|
|
|
351
|
+ } else {
|
|
|
352
|
+ contentBuilder.append(Optional.ofNullable(record.getCreateNickName()).orElse("")).append("于").append(caseNodeTime);
|
|
|
353
|
+ }
|
|
326
|
354
|
|
|
327
|
|
- if (StrUtil.isNotEmpty(record.getContent())) {
|
|
328
|
|
- contentBuilder.append(record.getContent());
|
|
329
|
|
- } else if (caseNode.intValue() == 0) {
|
|
330
|
|
- contentBuilder.append(record.getCaseStatusName());
|
|
331
|
|
- }
|
|
332
|
|
- if (StrUtil.isNotEmpty(record.getNotes())) {
|
|
333
|
|
- contentBuilder.append(",").append(record.getNotes());
|
|
|
355
|
+ if (StrUtil.isNotEmpty(record.getContent())) {
|
|
|
356
|
+ contentBuilder.append(record.getContent());
|
|
|
357
|
+ } else if (caseNode.intValue() == 0) {
|
|
|
358
|
+ contentBuilder.append(record.getCaseStatusName());
|
|
|
359
|
+ }
|
|
|
360
|
+ if (StrUtil.isNotEmpty(record.getNotes())) {
|
|
|
361
|
+ contentBuilder.append(",").append(record.getNotes());
|
|
|
362
|
+ }
|
|
|
363
|
+ }
|
|
|
364
|
+ record.setContent(contentBuilder.toString());
|
|
334
|
365
|
}
|
|
335
|
|
- record.setContent(contentBuilder.toString());
|
|
336
|
366
|
|
|
337
|
367
|
});
|
|
338
|
368
|
}
|
|
|
@@ -667,11 +697,15 @@ public class MsSignSealServiceImpl implements MsSignSealService {
|
|
667
|
697
|
JSONObject operator = jsonObjectCallback.getJSONObject("operator");
|
|
668
|
698
|
JSONObject psnAccount = operator.getJSONObject("psnAccount");
|
|
669
|
699
|
String accountMobile = psnAccount.getString("accountMobile");
|
|
|
700
|
+ // 根据电话查询用户名
|
|
|
701
|
+ SysUser sysUser = sysUserMapper.selectUserByPhone(accountMobile);
|
|
670
|
702
|
|
|
671
|
703
|
Example msSealSignRecordExample = new Example(MsSealSignRecord.class);
|
|
672
|
704
|
msSealSignRecordExample.createCriteria().andEqualTo("signFlowId", signFlowId);
|
|
673
|
705
|
MsSealSignRecord sealSignRecordsel = sealSignRecordMapper.selectOneByExample(msSealSignRecordExample);
|
|
674
|
|
-
|
|
|
706
|
+ if(sealSignRecordsel==null){
|
|
|
707
|
+ return error("未找到签署流程");
|
|
|
708
|
+ }
|
|
675
|
709
|
String pensonAccountApply = sealSignRecordsel.getPensonAccount();
|
|
676
|
710
|
String orgnNamePsnAcc = sealSignRecordsel.getOrgnNamePsnAcc();
|
|
677
|
711
|
String pensonAccountRes = sealSignRecordsel.getPensonAccountRes();
|
|
|
@@ -701,6 +735,9 @@ public class MsSignSealServiceImpl implements MsSignSealService {
|
|
701
|
735
|
sealSignRecordsel.setSignStatusApply(1);
|
|
702
|
736
|
sealSignRecordMapper.updateByPrimaryKeySelective(sealSignRecordsel);
|
|
703
|
737
|
MsCaseLogRecord operLog = new MsCaseLogRecord();
|
|
|
738
|
+ if(sysUser!=null){
|
|
|
739
|
+ operLog.setCreateBy(sysUser.getUserName());
|
|
|
740
|
+ }
|
|
704
|
741
|
operLog.setCreateNickName(pensonName);
|
|
705
|
742
|
operLog.setCaseStatusName(caseStatusName);
|
|
706
|
743
|
operLog.setCaseAppliId(caseAppliId);
|
|
|
@@ -742,6 +779,9 @@ public class MsSignSealServiceImpl implements MsSignSealService {
|
|
742
|
779
|
sealSignRecordsel.setSignStatusResponse(1);
|
|
743
|
780
|
sealSignRecordMapper.updateByPrimaryKeySelective(sealSignRecordsel);
|
|
744
|
781
|
MsCaseLogRecord operLog = new MsCaseLogRecord();
|
|
|
782
|
+ if(sysUser!=null){
|
|
|
783
|
+ operLog.setCreateBy(sysUser.getUserName());
|
|
|
784
|
+ }
|
|
745
|
785
|
operLog.setCreateNickName(pensonNameRes);
|
|
746
|
786
|
operLog.setCaseStatusName(caseStatusName);
|
|
747
|
787
|
operLog.setCaseAppliId(caseAppliId);
|
|
|
@@ -784,6 +824,9 @@ public class MsSignSealServiceImpl implements MsSignSealService {
|
|
784
|
824
|
sealSignRecordsel.setSignStatusMediator(1);
|
|
785
|
825
|
sealSignRecordMapper.updateByPrimaryKeySelective(sealSignRecordsel);
|
|
786
|
826
|
MsCaseLogRecord operLog = new MsCaseLogRecord();
|
|
|
827
|
+ if(sysUser!=null){
|
|
|
828
|
+ operLog.setCreateBy(sysUser.getUserName());
|
|
|
829
|
+ }
|
|
787
|
830
|
operLog.setCreateNickName(pensonNameMedi);
|
|
788
|
831
|
operLog.setCaseStatusName(caseStatusName);
|
|
789
|
832
|
operLog.setCaseAppliId(caseAppliId);
|
|
|
@@ -826,13 +869,7 @@ public class MsSignSealServiceImpl implements MsSignSealService {
|
|
826
|
869
|
sealSignRecordsel.setSealStatus(1);
|
|
827
|
870
|
sealSignRecordsel.setSignFlowStatus(3);
|
|
828
|
871
|
sealSignRecordMapper.updateByPrimaryKeySelective(sealSignRecordsel);
|
|
829
|
|
- MsCaseLogRecord operLog = new MsCaseLogRecord();
|
|
830
|
|
- operLog.setCreateNickName(orgnNamePsnName);
|
|
831
|
|
- operLog.setCaseStatusName(caseStatusName);
|
|
832
|
|
- operLog.setCaseAppliId(caseAppliId);
|
|
833
|
|
- operLog.setCaseNode(caseNode);
|
|
834
|
|
- operLog.setCreateTime(dateOperate);
|
|
835
|
|
- caseLogRecordMapper.insert(operLog);
|
|
|
872
|
+
|
|
836
|
873
|
|
|
837
|
874
|
// 根据流程id查找下一个流程节点
|
|
838
|
875
|
MsCaseFlow nextFlow = caseFlowMapper.nextFlow(caseApplicationselect.getCaseFlowId());
|
|
|
@@ -854,6 +891,9 @@ public class MsSignSealServiceImpl implements MsSignSealService {
|
|
854
|
891
|
sealSignRecordsel.setSignStatusApply(1);
|
|
855
|
892
|
sealSignRecordMapper.updateByPrimaryKeySelective(sealSignRecordsel);
|
|
856
|
893
|
MsCaseLogRecord operLog = new MsCaseLogRecord();
|
|
|
894
|
+ if(sysUser!=null){
|
|
|
895
|
+ operLog.setCreateBy(sysUser.getUserName());
|
|
|
896
|
+ }
|
|
857
|
897
|
operLog.setCreateNickName(pensonName);
|
|
858
|
898
|
operLog.setCaseStatusName(caseStatusName);
|
|
859
|
899
|
operLog.setCaseAppliId(caseAppliId);
|
|
|
@@ -874,77 +914,16 @@ public class MsSignSealServiceImpl implements MsSignSealService {
|
|
874
|
914
|
|
|
875
|
915
|
//下载审核完成的调解书
|
|
876
|
916
|
msSignSealService.downloadMediationBook(caseApplicationselect, signFlowId, gson, caseAppliId);
|
|
877
|
|
-// EsignHttpResponse fileDownload = SaaSAPIFileUtils.fileDownloadUrl(signFlowId);
|
|
878
|
|
-// JsonObject fileDownloadJsonObject = gson.fromJson(fileDownload.getBody(), JsonObject.class);
|
|
879
|
|
-// JsonObject fileDownloadData = fileDownloadJsonObject.getAsJsonObject("data");
|
|
880
|
|
-// JsonArray filesArray = fileDownloadData.get("files").getAsJsonArray();
|
|
881
|
|
-// if (filesArray != null && filesArray.size() > 0) {
|
|
882
|
|
-// JsonObject fileObject = (JsonObject) filesArray.get(0);
|
|
883
|
|
-// String fileDownloadUrl = fileObject.get("downloadUrl").toString();
|
|
884
|
|
-// LocalDate now = LocalDate.now();
|
|
885
|
|
-// String year = Integer.toString(now.getYear());
|
|
886
|
|
-// String month = String.format("%02d", now.getMonthValue());
|
|
887
|
|
-// String day = String.format("%02d", now.getDayOfMonth());
|
|
888
|
|
-// String saveFolderPath = "/home/ruoyi/uploadPath/upload/" + year + "/" + month + "/" + day;
|
|
889
|
|
-// String fileName = UUID.randomUUID().toString().replace("-", "") + ".pdf";
|
|
890
|
|
-// String saveName = fileName;
|
|
891
|
|
-// String savePath = "/profile/upload/" + year + "/" + month + "/" + day + "/" + fileName;
|
|
892
|
|
-//
|
|
893
|
|
-// // 创建日期目录
|
|
894
|
|
-// File saveFolder = new File(saveFolderPath);
|
|
895
|
|
-// if (!saveFolder.exists()) {
|
|
896
|
|
-// saveFolder.mkdirs();
|
|
897
|
|
-// }
|
|
898
|
|
-// String resultFilePath = saveFolderPath + "/" + fileName;
|
|
899
|
|
-// File resultFilePathFile = new File(resultFilePath);
|
|
900
|
|
-// if (!resultFilePathFile.exists()) {
|
|
901
|
|
-// resultFilePathFile.createNewFile();
|
|
902
|
|
-// }
|
|
903
|
|
-//
|
|
904
|
|
-// String fileDownloadUrlnew = fileDownloadUrl.substring(1, fileDownloadUrl.length() - 1);
|
|
905
|
|
-// boolean downLoadFile = FileTransformation.downLoadFileByUrl(fileDownloadUrlnew, resultFilePath);
|
|
906
|
|
-// if (downLoadFile) {
|
|
907
|
|
-// // 先删除已经存在的调解书
|
|
908
|
|
-// if(StrUtil.isEmpty(caseApplicationselect.getCaseSource())){
|
|
909
|
|
-// List<MsCaseAttach> existAttach = msCaseAttachMapper.listCaseAttachByCaseIdAndType(caseAppliId, AnnexTypeEnum.MEDIATE_BOOK.getCode());
|
|
910
|
|
-// if(CollectionUtil.isNotEmpty(existAttach)){
|
|
911
|
|
-// // 对接北明,同步案件状态,删除
|
|
912
|
|
-// for (MsCaseAttach msCaseAttach : existAttach) {
|
|
913
|
|
-// if(StrUtil.isEmpty(msCaseAttach.getOtherSysFileId())||StrUtil.isEmpty(msCaseAttach.getAnnexPath())){
|
|
914
|
|
-// continue;
|
|
915
|
|
-// }
|
|
916
|
|
-// beiMingInterfaceService.deleteAttachmentInfo(caseApplicationselect.getCaseNum(), msCaseAttach.getOtherSysFileId(), FileUtil.getName(msCaseAttach.getAnnexPath()));
|
|
917
|
|
-// }
|
|
918
|
|
-// }
|
|
919
|
|
-// }
|
|
920
|
|
-// msCaseAttachMapper.deleteCaseAttachByCasedIdAndType(caseAppliId, AnnexTypeEnum.MEDIATE_BOOK.getCode());
|
|
921
|
|
-// MsCaseAttach caseAttach = new MsCaseAttach();
|
|
922
|
|
-// caseAttach.setCaseAppliId(caseAppliId);
|
|
923
|
|
-// caseAttach.setAnnexType(AnnexTypeEnum.MEDIATE_BOOK.getCode());
|
|
924
|
|
-// caseAttach.setAnnexPath(savePath);
|
|
925
|
|
-// caseAttach.setAnnexName(saveName);
|
|
926
|
|
-// caseAttachMapper.save(caseAttach);
|
|
927
|
|
-// // 对接北明,调用上传附件接口
|
|
928
|
|
-// if(StrUtil.isEmpty(caseApplicationselect.getCaseSource()) ) {
|
|
929
|
|
-// String templatePath = "/home/ruoyi" + savePath;
|
|
930
|
|
-// File file = new File(templatePath.replace("/profile", "/uploadPath"));
|
|
931
|
|
-// MsCaseFileInfo caseFileInfo = beiMingInterfaceService.pushAttachmentInfo(BMUserName, BMPassword, file, BMSyncSource, caseApplicationselect.getCaseNum(), AttachmentOperateTypeEnum.ADD,DocumentTypeEnum.EVEDENT_AGREEMENT);
|
|
932
|
|
-// // 更新附件表
|
|
933
|
|
-// if(caseFileInfo!=null && StrUtil.isNotEmpty(caseFileInfo.getFileId())){
|
|
934
|
|
-// caseAttach.setOtherSysFileId(caseFileInfo.getFileId());
|
|
935
|
|
-// msCaseAttachMapper.updateCaseAttachBycaseid(caseAttach);
|
|
936
|
|
-// }
|
|
937
|
|
-//
|
|
938
|
|
-// }
|
|
939
|
|
-// }
|
|
940
|
|
-//
|
|
941
|
|
-// }
|
|
|
917
|
+
|
|
942
|
918
|
}
|
|
943
|
919
|
} else if (StringUtils.isNotEmpty(accountMobile) && accountMobile.equals(pensonAccountRes)) {
|
|
944
|
920
|
//被申请人签名
|
|
945
|
921
|
sealSignRecordsel.setSignStatusResponse(1);
|
|
946
|
922
|
sealSignRecordMapper.updateByPrimaryKeySelective(sealSignRecordsel);
|
|
947
|
923
|
MsCaseLogRecord operLog = new MsCaseLogRecord();
|
|
|
924
|
+ if(sysUser!=null){
|
|
|
925
|
+ operLog.setCreateBy(sysUser.getUserName());
|
|
|
926
|
+ }
|
|
948
|
927
|
operLog.setCreateNickName(pensonNameRes);
|
|
949
|
928
|
operLog.setCaseStatusName(caseStatusName);
|
|
950
|
929
|
operLog.setCaseAppliId(caseAppliId);
|
|
|
@@ -965,71 +944,6 @@ public class MsSignSealServiceImpl implements MsSignSealService {
|
|
965
|
944
|
|
|
966
|
945
|
//下载审核完成的调解书
|
|
967
|
946
|
msSignSealService.downloadMediationBook(caseApplicationselect, signFlowId, gson, caseAppliId);
|
|
968
|
|
-// EsignHttpResponse fileDownload = SaaSAPIFileUtils.fileDownloadUrl(signFlowId);
|
|
969
|
|
-// JsonObject fileDownloadJsonObject = gson.fromJson(fileDownload.getBody(), JsonObject.class);
|
|
970
|
|
-// JsonObject fileDownloadData = fileDownloadJsonObject.getAsJsonObject("data");
|
|
971
|
|
-// JsonArray filesArray = fileDownloadData.get("files").getAsJsonArray();
|
|
972
|
|
-// if (filesArray != null && filesArray.size() > 0) {
|
|
973
|
|
-// JsonObject fileObject = (JsonObject) filesArray.get(0);
|
|
974
|
|
-// String fileDownloadUrl = fileObject.get("downloadUrl").toString();
|
|
975
|
|
-// LocalDate now = LocalDate.now();
|
|
976
|
|
-// String year = Integer.toString(now.getYear());
|
|
977
|
|
-// String month = String.format("%02d", now.getMonthValue());
|
|
978
|
|
-// String day = String.format("%02d", now.getDayOfMonth());
|
|
979
|
|
-// String saveFolderPath = "/home/ruoyi/uploadPath/upload/" + year + "/" + month + "/" + day;
|
|
980
|
|
-// String fileName = UUID.randomUUID().toString().replace("-", "") + ".pdf";
|
|
981
|
|
-// String saveName = fileName;
|
|
982
|
|
-// String savePath = "/profile/upload/" + year + "/" + month + "/" + day + "/" + fileName;
|
|
983
|
|
-//
|
|
984
|
|
-// // 创建日期目录
|
|
985
|
|
-// File saveFolder = new File(saveFolderPath);
|
|
986
|
|
-// if (!saveFolder.exists()) {
|
|
987
|
|
-// saveFolder.mkdirs();
|
|
988
|
|
-// }
|
|
989
|
|
-// String resultFilePath = saveFolderPath + "/" + fileName;
|
|
990
|
|
-// File resultFilePathFile = new File(resultFilePath);
|
|
991
|
|
-// if (!resultFilePathFile.exists()) {
|
|
992
|
|
-// resultFilePathFile.createNewFile();
|
|
993
|
|
-// }
|
|
994
|
|
-//
|
|
995
|
|
-// String fileDownloadUrlnew = fileDownloadUrl.substring(1, fileDownloadUrl.length() - 1);
|
|
996
|
|
-// boolean downLoadFile = FileTransformation.downLoadFileByUrl(fileDownloadUrlnew, resultFilePath);
|
|
997
|
|
-// if (downLoadFile) {
|
|
998
|
|
-// // 先删除已经存在的调解书
|
|
999
|
|
-// if(StrUtil.isEmpty(caseApplicationselect.getCaseSource())){
|
|
1000
|
|
-// List<MsCaseAttach> existAttach = msCaseAttachMapper.listCaseAttachByCaseIdAndType(caseAppliId, AnnexTypeEnum.MEDIATE_BOOK.getCode());
|
|
1001
|
|
-// if(CollectionUtil.isNotEmpty(existAttach)){
|
|
1002
|
|
-// // 对接北明,同步案件状态,删除
|
|
1003
|
|
-// for (MsCaseAttach msCaseAttach : existAttach) {
|
|
1004
|
|
-// if(StrUtil.isEmpty(msCaseAttach.getOtherSysFileId())||StrUtil.isEmpty(msCaseAttach.getAnnexPath())){
|
|
1005
|
|
-// continue;
|
|
1006
|
|
-// }
|
|
1007
|
|
-// beiMingInterfaceService.deleteAttachmentInfo(caseApplicationselect.getCaseNum(), msCaseAttach.getOtherSysFileId(), FileUtil.getName(msCaseAttach.getAnnexPath()));
|
|
1008
|
|
-// }
|
|
1009
|
|
-// }
|
|
1010
|
|
-// }
|
|
1011
|
|
-// msCaseAttachMapper.deleteCaseAttachByCasedIdAndType(caseAppliId, AnnexTypeEnum.MEDIATE_BOOK.getCode());
|
|
1012
|
|
-// MsCaseAttach caseAttach = new MsCaseAttach();
|
|
1013
|
|
-// caseAttach.setCaseAppliId(caseAppliId);
|
|
1014
|
|
-// caseAttach.setAnnexType(7);
|
|
1015
|
|
-// caseAttach.setAnnexPath(savePath);
|
|
1016
|
|
-// caseAttach.setAnnexName(saveName);
|
|
1017
|
|
-//
|
|
1018
|
|
-// // 对接北明,调用上传附件接口
|
|
1019
|
|
-//
|
|
1020
|
|
-// if(StrUtil.isEmpty(caseApplicationselect.getCaseSource()) ) {
|
|
1021
|
|
-// String templatePath = "/home/ruoyi" + savePath;
|
|
1022
|
|
-// File file = new File(templatePath.replace("/profile", "/uploadPath"));
|
|
1023
|
|
-// MsCaseFileInfo caseFileInfo = beiMingInterfaceService.pushAttachmentInfo(BMUserName, BMPassword, file, BMSyncSource, caseApplicationselect.getCaseNum(), AttachmentOperateTypeEnum.ADD,DocumentTypeEnum.EVEDENT_AGREEMENT);
|
|
1024
|
|
-// // 更新附件表
|
|
1025
|
|
-// if(caseFileInfo!=null && StrUtil.isNotEmpty(caseFileInfo.getFileId())){
|
|
1026
|
|
-// caseAttach.setOtherSysFileId(caseFileInfo.getFileId());
|
|
1027
|
|
-// }
|
|
1028
|
|
-// }
|
|
1029
|
|
-// caseAttachMapper.save(caseAttach);
|
|
1030
|
|
-// }
|
|
1031
|
|
-//
|
|
1032
|
|
-// }
|
|
1033
|
947
|
}
|
|
1034
|
948
|
}
|
|
1035
|
949
|
}
|
|
|
@@ -1244,7 +1158,7 @@ public class MsSignSealServiceImpl implements MsSignSealService {
|
|
1244
|
1158
|
sendMailRecord.setSendTime(new Date());
|
|
1245
|
1159
|
sendMailRecord.setMailSubject("签署后的调解书");
|
|
1246
|
1160
|
sendMailRecord.setMailFromAddress(emailFrom);
|
|
1247
|
|
- sendMailRecord.setFileIds(fileId != null ? fileId.toString() : null);
|
|
|
1161
|
+ sendMailRecord.setFileIds(fileId != null ? fileId.toString() : "");
|
|
1248
|
1162
|
// sendMailRecord.setCreateBy(SecurityUtils.getUsername());
|
|
1249
|
1163
|
sendMailRecord.setCreateTime(new Date());
|
|
1250
|
1164
|
sendMailRecord.setMailFromAddress(emailFrom);
|