Browse Source

Merge branch 'wq' of SH-Arbitrate/Arbitrate-Backend into dev

wangqiong123 2 years ago
parent
commit
57b5325154

+ 1
- 1
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/vo/ToDoCount.java View File

@@ -30,5 +30,5 @@ public class ToDoCount {
30 30
     private int caseApplyStored=0; // 待案件归档
31 31
     private int caseApplyArchived=0; // 已归档
32 32
     private int updateOnlineHearDate=0; // 待修改开庭时间
33
-    private int ArbitratorApplyAwardConfirm=0; // 待仲裁员审核仲裁文书
33
+    private int arbitratorApplyAwardConfirm=0; // 待仲裁员审核仲裁文书
34 34
 }

+ 4
- 4
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/AdjudicationServiceImpl.java View File

@@ -353,11 +353,11 @@ public class AdjudicationServiceImpl implements IAdjudicationService {
353 353
             String month = String.format("%02d", now.getMonthValue());
354 354
             String day = String.format("%02d", now.getDayOfMonth());
355 355
             // todo 服务器路径
356
-//            String modalFilePath = "/data/arbitrate-document/template/新裁决书模板.docx";
357
-             String modalFilePath = "D:/新裁决书模板.docx";
356
+            String modalFilePath = "/data/arbitrate-document/template/新裁决书模板.docx";
357
+//             String modalFilePath = "D:/新裁决书模板.docx";
358 358
             // todo 服务器路径
359
-         //   String saveFolderPath = "/home/ruoyi/uploadPath/upload/" + year + "/" + month + "/" + day;
360
-             String saveFolderPath = "D:/";
359
+            String saveFolderPath = "/home/ruoyi/uploadPath/upload/" + year + "/" + month + "/" + day;
360
+//             String saveFolderPath = "D:/";
361 361
             String fileName = UUID.randomUUID().toString().replace("-", "") + ".docx";
362 362
             String saveName = "/profile/upload/" + year + "/" + month + "/" + day + "/" + fileName;
363 363
             String resultFilePath = saveFolderPath + "/" + fileName;

+ 8
- 8
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java View File

@@ -394,8 +394,8 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
394 394
             return AjaxResult.error("请选择要上传的文件");
395 395
         }
396 396
         // todo 服务器上要放开
397
-//        String targetPath = "/home/ruoyi/uploadPath/upload/unzipFile";
398
-         String targetPath = "D:/zip";
397
+        String targetPath = "/home/ruoyi/uploadPath/upload/unzipFile";
398
+//         String targetPath = "D:/zip";
399 399
         File zipFile = null;
400 400
         InputStream ins = null;
401 401
         try {
@@ -413,8 +413,8 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
413 413
         String subzipName = zipName.substring(0, zipName.indexOf(".zip"));
414 414
 //        String zipPath = "F:\\testZip\\uploadPath\\upload\\upload1\\unzipFile\\"+subzipName;
415 415
         // todo 服务器上要放开
416
-//        String zipPath = "/home/ruoyi/uploadPath/upload/unzipFile/" + subzipName;
417
-        String zipPath = "D:/" + subzipName;
416
+        String zipPath = "/home/ruoyi/uploadPath/upload/unzipFile/" + subzipName;
417
+//        String zipPath = "D:/" + subzipName;
418 418
 
419 419
         File dirUnzipPath = new File(zipPath);
420 420
         List<File> allFiles = new ArrayList<>();
@@ -2961,16 +2961,16 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService {
2961 2961
         }
2962 2962
         UUID uuid = UUID.randomUUID();
2963 2963
         // todo 服务器上要放开
2964
-//        String targetPath = "/home/ruoyi/uploadPath/upload/unzipFile/"+uuid+ "/";
2965
-        String targetPath = "D:/zip";
2964
+        String targetPath = "/home/ruoyi/uploadPath/upload/unzipFile/"+uuid+ "/";
2965
+//        String targetPath = "D:/zip";
2966 2966
         File zipFile = null;
2967 2967
         InputStream ins = null;
2968 2968
         try {
2969 2969
             ins = file.getInputStream();
2970 2970
             //上传的压缩包保存的路径
2971 2971
             // todo 服务器上要放开
2972
-//            String savePath = "/home/ruoyi/uploadPath/upload/zipFile/";
2973
-           String savePath = "D:/zip/";
2972
+            String savePath = "/home/ruoyi/uploadPath/upload/zipFile/";
2973
+//           String savePath = "D:/zip/";
2974 2974
             String saveName = uuid + "_" + file.getOriginalFilename();
2975 2975
             zipFile = new File(savePath + saveName);
2976 2976
             inputChangeToFile(ins, zipFile);

+ 2
- 2
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml View File

@@ -617,7 +617,7 @@
617 617
         sum( case when t1.case_status=15 then 1 else 0 end) caseApplyAwardSend,
618 618
         sum( case when t1.case_status=16 then 1 else 0 end) caseApplyStored,
619 619
         sum( case when t1.case_status=17 then 1 else 0 end) caseApplyArchived,
620
-        sum( case when t1.case_status=18 then 1 else 0 end) ArbitratorApplyAwardConfirm,
620
+        sum( case when t1.case_status=18 then 1 else 0 end) arbitratorApplyAwardConfirm,
621 621
         sum( case when t1.case_status=31 then 1 else 0 end) updateOnlineHearDate
622 622
         from(
623 623
         <trim suffixOverrides="union">
@@ -853,7 +853,7 @@
853 853
             sum( case when c.case_status=15 then 1 else 0 end) caseApplyAwardSend,
854 854
             sum( case when c.case_status=16 then 1 else 0 end) caseApplyStored,
855 855
             sum( case when c.case_status=17 then 1 else 0 end) caseApplyArchived,
856
-            sum( case when c.case_status=18 then 1 else 0 end) ArbitratorApplyAwardConfirm,
856
+            sum( case when c.case_status=18 then 1 else 0 end) arbitratorApplyAwardConfirm,
857 857
             sum( case when c.case_status=31 then 1 else 0 end) updateOnlineHearDate
858 858
         FROM
859 859
             case_application c