|
|
@@ -1858,7 +1858,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|
1858
|
1858
|
String annexPath = caseAttach.getAnnexPath();
|
|
1859
|
1859
|
String path = "/home/ruoyi" + annexPath;
|
|
1860
|
1860
|
// System.out.println("这是查询到的裁决书路径" + path);
|
|
1861
|
|
- //String path = "D:\\home\\仲裁裁决书模板.docx";
|
|
|
1861
|
+ // String path = "D:\\home\\新裁决书模板.docx";
|
|
1862
|
1862
|
//获取文件上传地址
|
|
1863
|
1863
|
EsignHttpResponse response = SaaSAPIFileUtils.getUploadUrl(path);
|
|
1864
|
1864
|
String body = response.getBody();
|
|
|
@@ -1984,7 +1984,8 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|
1984
|
1984
|
if (selectSealList != null && selectSealList.size() > 0) {
|
|
1985
|
1985
|
for (SealManage manage : selectSealList) {
|
|
1986
|
1986
|
Integer sealStatus = manage.getSealStatus();
|
|
1987
|
|
- if (sealStatus == 1) {
|
|
|
1987
|
+ Integer isUse = manage.getIsUse();
|
|
|
1988
|
+ if (sealStatus == 1 && isUse ==1) {
|
|
1988
|
1989
|
sealIdList.add(manage.getSealId());
|
|
1989
|
1990
|
}
|
|
1990
|
1991
|
}
|
|
|
@@ -2846,14 +2847,14 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|
2846
|
2847
|
}
|
|
2847
|
2848
|
UUID uuid = UUID.randomUUID();
|
|
2848
|
2849
|
String targetPath = "/home/ruoyi/uploadPath/upload/unzipFile/"+uuid+ "/";
|
|
2849
|
|
- // String targetPath = "D:/home/unzip/" + uuid + "/";
|
|
|
2850
|
+ //String targetPath = "D:/home/unzip/" + uuid + "/";
|
|
2850
|
2851
|
File zipFile = null;
|
|
2851
|
2852
|
InputStream ins = null;
|
|
2852
|
2853
|
try {
|
|
2853
|
2854
|
ins = file.getInputStream();
|
|
2854
|
2855
|
//上传的压缩包保存的路径
|
|
2855
|
2856
|
String savePath = "/home/ruoyi/uploadPath/upload/zipFile/";
|
|
2856
|
|
- // String savePath = "D:/home/zipFile/";
|
|
|
2857
|
+ //String savePath = "D:/home/zipFile/";
|
|
2857
|
2858
|
String saveName = uuid + "_" + file.getOriginalFilename();
|
|
2858
|
2859
|
zipFile = new File(savePath + saveName);
|
|
2859
|
2860
|
inputChangeToFile(ins, zipFile);
|
|
|
@@ -2913,18 +2914,20 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
|
|
2913
|
2914
|
//默认案件标的
|
|
2914
|
2915
|
caseApplication.setCaseSubjectAmount(new BigDecimal(1));
|
|
2915
|
2916
|
caseApplication.setApplicationOrganId(map.get("统一社会信用代码").get(0));
|
|
2916
|
|
- caseApplication.setCompLegalPerson(map.get("负责人").get(0));
|
|
2917
|
|
- caseApplication.setNameAgent(map.get("委托代理人").get(0));
|
|
2918
|
2917
|
caseApplication.setArbitratClaims(map.get("仲裁请求").get(0));
|
|
2919
|
2918
|
List<CaseAffiliate> caseAffiliates = new ArrayList<>();
|
|
2920
|
2919
|
CaseAffiliate caseAffiliate = new CaseAffiliate();
|
|
2921
|
2920
|
caseAffiliate.setIdentityType(1);
|
|
2922
|
2921
|
caseAffiliate.setName(map.get("申请人").get(0));
|
|
2923
|
2922
|
caseAffiliate.setIdentityNum(map.get("统一社会信用代码").get(0));
|
|
|
2923
|
+ caseAffiliate.setCompLegalPerson(map.get("负责人").get(0));
|
|
|
2924
|
+ caseAffiliate.setNameAgent(map.get("委托代理人").get(0));
|
|
2924
|
2925
|
caseAffiliate.setContactTelphone(map.get("联系电话").get(0));
|
|
2925
|
2926
|
caseAffiliate.setResidenAffili(map.get("住所").get(0));
|
|
2926
|
2927
|
caseAffiliate.setContactAddress(map.get("联系地址").get(0));
|
|
2927
|
|
- caseAffiliate.setSendEmail(map.get("电子邮件").get(0));
|
|
|
2928
|
+ caseAffiliate.setEmail(map.get("电子邮件").get(0));
|
|
|
2929
|
+ //设置默认代理人的身份证号码,暂时写死 要不然新增方法报错
|
|
|
2930
|
+ caseAffiliate.setIdentityNumAgent("610528199901013612");
|
|
2928
|
2931
|
caseAffiliates.add(caseAffiliate);
|
|
2929
|
2932
|
CaseAffiliate caseAffiliate1 = new CaseAffiliate();
|
|
2930
|
2933
|
caseAffiliate1.setIdentityType(2);
|