Преглед изворни кода

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

qitz пре 2 година
родитељ
комит
1ccbc8c895

+ 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<>();
2975
         }
2975
         }
2976
         UUID uuid = UUID.randomUUID();
2976
         UUID uuid = UUID.randomUUID();
2977
         // todo 服务器上要放开
2977
         // todo 服务器上要放开
2978
-//        String targetPath = "/home/ruoyi/uploadPath/upload/unzipFile/"+uuid+ "/";
2979
-        String targetPath = "D:/zip";
2978
+        String targetPath = "/home/ruoyi/uploadPath/upload/unzipFile/"+uuid+ "/";
2979
+//        String targetPath = "D:/zip";
2980
         File zipFile = null;
2980
         File zipFile = null;
2981
         InputStream ins = null;
2981
         InputStream ins = null;
2982
         try {
2982
         try {
2983
             ins = file.getInputStream();
2983
             ins = file.getInputStream();
2984
             //上传的压缩包保存的路径
2984
             //上传的压缩包保存的路径
2985
             // todo 服务器上要放开
2985
             // todo 服务器上要放开
2986
-//            String savePath = "/home/ruoyi/uploadPath/upload/zipFile/";
2987
-           String savePath = "D:/zip/";
2986
+            String savePath = "/home/ruoyi/uploadPath/upload/zipFile/";
2987
+//           String savePath = "D:/zip/";
2988
             String saveName = uuid + "_" + file.getOriginalFilename();
2988
             String saveName = uuid + "_" + file.getOriginalFilename();
2989
             zipFile = new File(savePath + saveName);
2989
             zipFile = new File(savePath + saveName);
2990
             inputChangeToFile(ins, zipFile);
2990
             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