From 60f05773c0b3ca1fbad1e73693cfad492cba2f43 Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Wed, 17 Jun 2026 16:13:21 +0800 Subject: [PATCH] 1 --- .../longchuang/service/impl/ProductionPlanServiceImpl.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/xujie/sys/modules/longchuang/service/impl/ProductionPlanServiceImpl.java b/src/main/java/com/xujie/sys/modules/longchuang/service/impl/ProductionPlanServiceImpl.java index b7c71bd..e4bf4b2 100644 --- a/src/main/java/com/xujie/sys/modules/longchuang/service/impl/ProductionPlanServiceImpl.java +++ b/src/main/java/com/xujie/sys/modules/longchuang/service/impl/ProductionPlanServiceImpl.java @@ -1085,7 +1085,7 @@ public class ProductionPlanServiceImpl implements ProductionPlanService { if (node == null) { throw new I18nException("lc.production.report.node.not.exists"); } - String mediaStep = resolveMediaStep(data, node); + String mediaStep = resolveMediaStep(data, node, orderType); String rootPath = StringUtils.hasText(workReportMediaRootPath) ? workReportMediaRootPath : "D:\\longchuang"; File rootDir = new File(rootPath); if (!rootDir.exists() && !rootDir.mkdirs()) { @@ -1191,7 +1191,7 @@ public class ProductionPlanServiceImpl implements ProductionPlanService { } } - private String resolveMediaStep(ProductionPlanNodeReportData data, ProductionPlanOrderNodeData node) { + private String resolveMediaStep(ProductionPlanNodeReportData data, ProductionPlanOrderNodeData node, String orderType) { if (node == null) { return ""; } @@ -1201,6 +1201,9 @@ public class ProductionPlanServiceImpl implements ProductionPlanService { if (!packNode) { return ""; } + if (ORDER_TYPE_RENOVATION.equals(orderType)) { + return ""; + } String mediaStep = data == null ? "" : data.getMediaStep(); if (!StringUtils.hasText(mediaStep)) { throw new XJException("请先选择打包步骤");