From af23f1cb89b1845964dda1869baac2e3c9adf862 Mon Sep 17 00:00:00 2001 From: bai <1643359946@qq.com> Date: Thu, 9 May 2024 22:22:21 +0800 Subject: [PATCH] =?UTF-8?q?2024=E5=B9=B45=E6=9C=889=E6=97=A5=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E7=9B=B4=E6=92=AD=E7=94=BB=E9=9D=A2=E6=8A=93=E5=8F=96?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/KcDetectionDetailedServiceImpl.java | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/jeecg-module-main/src/main/java/org/jeecg/modules/kc/detection/service/impl/KcDetectionDetailedServiceImpl.java b/jeecg-module-main/src/main/java/org/jeecg/modules/kc/detection/service/impl/KcDetectionDetailedServiceImpl.java index f0c99e2e..df028e72 100644 --- a/jeecg-module-main/src/main/java/org/jeecg/modules/kc/detection/service/impl/KcDetectionDetailedServiceImpl.java +++ b/jeecg-module-main/src/main/java/org/jeecg/modules/kc/detection/service/impl/KcDetectionDetailedServiceImpl.java @@ -76,8 +76,10 @@ public class KcDetectionDetailedServiceImpl extends ServiceImpl { KcKetangbiao ketangbiao = KcKetangbiaoMap.get(x.getJsbh()); + String rwbh = ketangbiao.getRwbh(); String fileName; File uploadpathFile = new File(uploadpath); String uploadpathFilePath = uploadpathFile.getPath(); - File file = new File(uploadpathFilePath + File.separator + "videoScreenshot" + File.separator + DateUtils.getTradeNo() + File.separator); + File file = new File(uploadpathFilePath + File.separator + "videoScreenshot" + File.separator + ketangbiao.getXnxq() + File.separator + yearMonthStr + File.separator + x.getJsbh() + File.separator); String orgName = x.getPullUrl();// 获取文件名 orgName = CommonUtil.getFileName(orgName); if(orgName.lastIndexOf(".")!=-1){ @@ -146,11 +149,12 @@ public class KcDetectionDetailedServiceImpl extends ServiceImpl