浏览代码

11.13开发

hejinbo 2 年前
父节点
当前提交
de3fc04a05

+ 17
- 17
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/AdjudicationServiceImpl.java 查看文件

@@ -154,7 +154,7 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
154 154
             }
155 155
             //管辖权异议
156 156
             Integer objectiJuris = caseApplication1.getObjectiJuris();
157
-            String jurisdictionalObjection = "本案受理后,被申请人向仲裁委提交了《XX管辖异议申请书》,认为XXXXXX" +
157
+            String jurisdictionalObjection = "本案受理后,被申请人向仲裁委提交了《管辖异议申请书》,认为" +
158 158
                     ",仲裁委经审理,当庭驳回了被申请人的管辖异议申请,并告知被申请人具体的事实和理由将在裁决书中一并列明。";
159 159
             if (objectiJuris == null) {
160 160
                 datas.put("jurisdictionalObjection", null);
@@ -284,21 +284,21 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
284 284
                     }
285 285
                 }
286 286
             }
287
-            datas.put("applicaCrossOpin", caseApplication1.getApplicaCrossOpin());
288
-            if (arbitrateRecord1 != null) {
289
-                datas.put("factDetermi", arbitrateRecord1.getFactDetermi());
290
-                datas.put("arbitrateThink", arbitrateRecord1.getArbitrateThink());
291
-                datas.put("rulingFollows", arbitrateRecord1.getRulingFollows());
292
-            }
287
+            datas.put("applicaCrossOpin", "被申请人证据不足,无法说明事实");
288
+
289
+            datas.put("factDetermi", "被申请人欠款属实");
290
+            datas.put("arbitrateThink", " 被申请人应按约定还款");
291
+            datas.put("rulingFollows", "被申请人依法偿还申请人欠款");
292
+
293 293
             LocalDate now = LocalDate.now();
294 294
             String year = Integer.toString(now.getYear());
295 295
             datas.put("year", year);
296 296
             String month = String.format("%02d", now.getMonthValue());
297 297
             String day = String.format("%02d", now.getDayOfMonth());
298 298
             String modalFilePath = "/data/arbitrate-document/template/新裁决书模板.docx";
299
-           // String modalFilePath = "D:/develop/新裁决书模板.docx";
299
+            // String modalFilePath = "D:/develop/新裁决书模板.docx";
300 300
             String saveFolderPath = "/home/ruoyi/uploadPath/upload/" + year + "/" + month + "/" + day;
301
-           // String saveFolderPath = "D:/data/" + year + "/" + month + "/" + day;
301
+            // String saveFolderPath = "D:/data/" + year + "/" + month + "/" + day;
302 302
             String fileName = UUID.randomUUID().toString().replace("-", "") + ".docx";
303 303
             String saveName = "/profile/upload/" + year + "/" + month + "/" + day + "/" + fileName;
304 304
             String resultFilePath = saveFolderPath + "/" + fileName;
@@ -603,7 +603,7 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
603 603
             try {
604 604
                 Boolean aBoolean = emailOutUtil.sendEmil(appEmail, "您好,审核后的裁决书在附件中请查阅", "签署后的裁决书", fileList, null);
605 605
                 Boolean aBoolean1 = emailOutUtil.sendEmil(resEmail, "您好,审核后的裁决书在附件中请查阅", "签署后的裁决书", fileList, null);
606
-                if (aBoolean && aBoolean1){
606
+                if (aBoolean && aBoolean1) {
607 607
                     return Boolean.TRUE;
608 608
                 }
609 609
             } catch (Exception e) {
@@ -739,7 +739,7 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
739 739
             }
740 740
             //管辖权异议
741 741
             Integer objectiJuris = caseApplication1.getObjectiJuris();
742
-            String jurisdictionalObjection = "本案受理后,被申请人向仲裁委提交了《XX管辖异议申请书》,认为XXXXXX" +
742
+            String jurisdictionalObjection = "本案受理后,被申请人向仲裁委提交了《管辖异议申请书》,认为" +
743 743
                     ",仲裁委经审理,当庭驳回了被申请人的管辖异议申请,并告知被申请人具体的事实和理由将在裁决书中一并列明。";
744 744
             if (objectiJuris == null) {
745 745
                 datas.put("jurisdictionalObjection", null);
@@ -870,12 +870,12 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
870 870
                     }
871 871
                 }
872 872
             }
873
-            datas.put("applicaCrossOpin", caseApplication1.getApplicaCrossOpin());
874
-            if (arbitrateRecord1 != null) {
875
-                datas.put("factDetermi", arbitrateRecord1.getFactDetermi());
876
-                datas.put("arbitrateThink", arbitrateRecord1.getArbitrateThink());
877
-                datas.put("rulingFollows", arbitrateRecord1.getRulingFollows());
878
-            }
873
+            datas.put("applicaCrossOpin", "被申请人证据不足,无法说明事实");
874
+
875
+            datas.put("factDetermi", "被申请人欠款属实");
876
+            datas.put("arbitrateThink", "被申请人应按约定还款");
877
+            datas.put("rulingFollows", "被申请人依法偿还申请人欠款");
878
+
879 879
             LocalDate now = LocalDate.now();
880 880
             String year = Integer.toString(now.getYear());
881 881
             datas.put("year", year);

+ 9
- 11
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java 查看文件

@@ -282,7 +282,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
282 282
     @Transactional
283 283
     public int updateHeardate(CaseApplication caseApplication) {
284 284
 //        caseApplication.setCaseStatus(CaseApplicationConstants.PENDING_OPENCOURT_HEAR);
285
-        caseApplication.setCaseStatus(CaseApplicationConstants.CHECK_ARBITRATION_METHOD);
285
+        caseApplication.setCaseStatus(CaseApplicationConstants.PENDING_OPENCOURT_HEAR);
286 286
         int rows = caseApplicationMapper.submitCaseApplication(caseApplication);
287 287
         //1975139	修改开庭时间通知 尊敬的{1}用户,您的{2}仲裁案件,开庭日期已改为{3},请知晓,如非本人操作,请忽略本短信
288 288
         //发送短信通知
@@ -292,7 +292,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
292 292
         // 发送开庭日期通知短信
293 293
         sendHearDateMessage(caseApplication, request, "1975139");
294 294
         // 新增日志
295
-        CaseLogUtils.insertCaseLog(caseApplication.getId(), CaseApplicationConstants.CHECK_ARBITRATION_METHOD, "");
295
+        CaseLogUtils.insertCaseLog(caseApplication.getId(), CaseApplicationConstants.PENDING_OPENCOURT_HEAR, "");
296 296
         return rows;
297 297
     }
298 298
 
@@ -2128,13 +2128,11 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
2128 2128
                 datas.put("hearDay", null);
2129 2129
             }
2130 2130
             datas.put("appArbitrationClaims", caseApplication.getArbitratClaims());
2131
-            if (arbitrateRecord1 != null) {
2132
-                datas.put("evidenDetermi", arbitrateRecord1.getEvidenDetermi());
2133
-                datas.put("factDetermi", arbitrateRecord1.getFactDetermi());
2134
-                datas.put("caseSketch", arbitrateRecord1.getCaseSketch());
2135
-                datas.put("arbitrateThink", arbitrateRecord1.getArbitrateThink());
2136
-                datas.put("rulingFollows", arbitrateRecord1.getRulingFollows());
2137
-            }
2131
+            datas.put("evidenDetermi", "认定为申请人证据充足");
2132
+            datas.put("factDetermi", "被申请人欠款属实");
2133
+            datas.put("caseSketch", "申请人所求通过");
2134
+            datas.put("arbitrateThink", "被申请人应按约定还款");
2135
+            datas.put("rulingFollows", "被申请人依法偿还申请人欠款");
2138 2136
             datas.put("legalProvisions", "仲裁法");
2139 2137
             LocalDate now = LocalDate.now();
2140 2138
             String year = Integer.toString(now.getYear());
@@ -2268,9 +2266,9 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
2268 2266
         CaseApplication caseApplicationselect = caseApplicationMapper.selectCaseApplication(caseApplication);
2269 2267
 
2270 2268
         String caseNum = caseApplicationselect.getCaseNum();
2271
-        Date hearDate = caseApplicationselect.getHearDate();
2269
+        //Date hearDate = caseApplicationselect.getHearDate();
2272 2270
         SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
2273
-        String hearDatestr = dateFormat.format(hearDate);
2271
+        String hearDatestr = null;
2274 2272
         String arbitratorId = caseApplicationselect.getArbitratorId();
2275 2273
 //        List<Arbitrator> arbitratorList = new ArrayList<>();
2276 2274
         if (StringUtils.isNotEmpty(arbitratorId)) {

+ 4
- 6
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseArbitrateServiceImpl.java 查看文件

@@ -533,12 +533,10 @@ public class CaseArbitrateServiceImpl implements ICaseArbitrateService {
533 533
                     }
534 534
                 }
535 535
             }
536
-            datas.put("applicaCrossOpin", caseApplication1.getApplicaCrossOpin());
537
-            if (arbitrateRecord1 != null) {
538
-                datas.put("factDetermi", arbitrateRecord1.getFactDetermi());
539
-                datas.put("arbitrateThink", arbitrateRecord1.getArbitrateThink());
540
-                datas.put("rulingFollows", arbitrateRecord1.getRulingFollows());
541
-            }
536
+            datas.put("applicaCrossOpin", "被申请人证据不足,无法说明事实");
537
+            datas.put("factDetermi", "被申请人欠款属实");
538
+            datas.put("arbitrateThink", " 被申请人应按约定还款");
539
+            datas.put("rulingFollows", "被申请人依法偿还申请人欠款");
542 540
             LocalDate now = LocalDate.now();
543 541
             String year = Integer.toString(now.getYear());
544 542
             datas.put("year", year);