Răsfoiți Sursa

下载管理bug(不勾选时不是zip文件报错)

caozixuan 2 ani în urmă
părinte
comite
64e0e35be0

+ 1 - 1
distributed-print-business/src/main/java/com/qmth/distributed/print/business/templete/service/impl/TaskLogicServiceImpl.java

@@ -1796,7 +1796,7 @@ public class TaskLogicServiceImpl implements TaskLogicService {
         File zipFile = new File(zipJoiner + dirNameTmp);
         if (!zipFile.getParentFile().exists()) {
             boolean mkd = zipFile.getParentFile().mkdirs();
-            boolean cf = zipFile.createNewFile();
+//            boolean cf = zipFile.createNewFile();
         }
 
         // 根文件路径

+ 0 - 2
distributed-print-business/src/main/resources/mapper/ExamTaskMapper.xml

@@ -1112,8 +1112,6 @@
             IFNULL(b.exposed_paper_type,'') exposedPaperType,
             IFNULL(b.unexposed_paper_type,'') unexposedPaperType,
             so.name orgName,
-#             REPLACE(substring_index(substring_index(CONVERT((b.paper_attachment_ids ->>'$[*].cardId')
-#             USING utf8), ']', 1), '[',-1) examCardId,
             b.paper_attachment_ids paperAttachmentIds
         FROM
             exam_task a