18792927508 2 лет назад
Родитель
Сommit
0be2808800

+ 1
- 1
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/domain/vo/ToDoCount.java Просмотреть файл

30
     private int caseApplyStored=0; // 待案件归档
30
     private int caseApplyStored=0; // 待案件归档
31
     private int caseApplyArchived=0; // 已归档
31
     private int caseApplyArchived=0; // 已归档
32
     private int updateOnlineHearDate=0; // 待修改开庭时间
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 Просмотреть файл

353
             String month = String.format("%02d", now.getMonthValue());
353
             String month = String.format("%02d", now.getMonthValue());
354
             String day = String.format("%02d", now.getDayOfMonth());
354
             String day = String.format("%02d", now.getDayOfMonth());
355
             // todo 服务器路径
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
             // todo 服务器路径
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
             String fileName = UUID.randomUUID().toString().replace("-", "") + ".docx";
361
             String fileName = UUID.randomUUID().toString().replace("-", "") + ".docx";
362
             String saveName = "/profile/upload/" + year + "/" + month + "/" + day + "/" + fileName;
362
             String saveName = "/profile/upload/" + year + "/" + month + "/" + day + "/" + fileName;
363
             String resultFilePath = saveFolderPath + "/" + fileName;
363
             String resultFilePath = saveFolderPath + "/" + fileName;

+ 8
- 8
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java Просмотреть файл

394
             return AjaxResult.error("请选择要上传的文件");
394
             return AjaxResult.error("请选择要上传的文件");
395
         }
395
         }
396
         // todo 服务器上要放开
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
         File zipFile = null;
399
         File zipFile = null;
400
         InputStream ins = null;
400
         InputStream ins = null;
401
         try {
401
         try {
413
         String subzipName = zipName.substring(0, zipName.indexOf(".zip"));
413
         String subzipName = zipName.substring(0, zipName.indexOf(".zip"));
414
 //        String zipPath = "F:\\testZip\\uploadPath\\upload\\upload1\\unzipFile\\"+subzipName;
414
 //        String zipPath = "F:\\testZip\\uploadPath\\upload\\upload1\\unzipFile\\"+subzipName;
415
         // todo 服务器上要放开
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
         File dirUnzipPath = new File(zipPath);
419
         File dirUnzipPath = new File(zipPath);
420
         List<File> allFiles = new ArrayList<>();
420
         List<File> allFiles = new ArrayList<>();
2961
         }
2961
         }
2962
         UUID uuid = UUID.randomUUID();
2962
         UUID uuid = UUID.randomUUID();
2963
         // todo 服务器上要放开
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
         File zipFile = null;
2966
         File zipFile = null;
2967
         InputStream ins = null;
2967
         InputStream ins = null;
2968
         try {
2968
         try {
2969
             ins = file.getInputStream();
2969
             ins = file.getInputStream();
2970
             //上传的压缩包保存的路径
2970
             //上传的压缩包保存的路径
2971
             // todo 服务器上要放开
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
             String saveName = uuid + "_" + file.getOriginalFilename();
2974
             String saveName = uuid + "_" + file.getOriginalFilename();
2975
             zipFile = new File(savePath + saveName);
2975
             zipFile = new File(savePath + saveName);
2976
             inputChangeToFile(ins, zipFile);
2976
             inputChangeToFile(ins, zipFile);

+ 2
- 2
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml Просмотреть файл

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