Преглед на файлове

Merge branch 'dev' of http://git.xayunmei.com/SH-Arbitrate/Arbitrate-Backend into qtz5

qitz преди 2 години
родител
ревизия
deea55b1e9

+ 1
- 3
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CasePaymentServiceImpl.java Целия файл

@@ -124,7 +124,7 @@ public class CasePaymentServiceImpl implements ICasePaymentService {
124 124
                     //查询案件详细信息
125 125
                     CaseApplication caseApplication1 = caseApplicationMapper.selectCaseApplication(caseApplication);
126 126
                     if (caseApplication1 == null) {
127
-                        return AjaxResult.error();
127
+                       continue;
128 128
                     }
129 129
                     String caseName = "仲裁"; //这里案件名称表里未定义,暂时写死
130 130
                     String caseNum = caseApplication1.getCaseNum();
@@ -183,8 +183,6 @@ public class CasePaymentServiceImpl implements ICasePaymentService {
183 183
                 casePaymentRecordMapper.update(casePaymentRecord);
184 184
                 // 新增日志
185 185
                 CaseLogUtils.insertCaseLog(caseApplication.getId(), CaseApplicationConstants.CASE_CROSSEXAMI, "");
186
-
187
-                return AjaxResult.success();
188 186
             }
189 187
         }
190 188
 

+ 6
- 1
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseZipImportImpl.java Целия файл

@@ -415,7 +415,12 @@ public class CaseZipImportImpl {
415 415
      * @param fatchRules    抓取规则
416 416
      */
417 417
     private void getFatchContent(Map<String, String> andConvertPDF, String mapKey, Map<String, String> map, List<FatchRule> fatchRules) {
418
-        String fileURL = andConvertPDF.get(mapKey);
418
+        String fileURL =null;
419
+        for (Map.Entry<String, String> entry : andConvertPDF.entrySet()) {
420
+            if(entry.getKey().contains(mapKey)){
421
+                fileURL=entry.getValue();
422
+            }
423
+        }
419 424
         if (StrUtil.isEmpty(fileURL)) {
420 425
             return;
421 426
         }