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