From e329f3a48cf0fc972f0e4441a5cd07e2de4e9035 Mon Sep 17 00:00:00 2001 From: 86156 <823267011@qq.com> Date: Wed, 16 Jul 2025 17:24:52 +0800 Subject: [PATCH] =?UTF-8?q?bug=E5=B0=9D=E8=AF=95=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../industry/work/service/impl/IndustryMaterialServiceImpl.java | 2 +- .../src/main/resources/mapper/work/IndustryStepMapper.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/industry-system/src/main/java/com/industry/work/service/impl/IndustryMaterialServiceImpl.java b/industry-system/src/main/java/com/industry/work/service/impl/IndustryMaterialServiceImpl.java index ebc84eb6..602bac75 100644 --- a/industry-system/src/main/java/com/industry/work/service/impl/IndustryMaterialServiceImpl.java +++ b/industry-system/src/main/java/com/industry/work/service/impl/IndustryMaterialServiceImpl.java @@ -209,7 +209,7 @@ public class IndustryMaterialServiceImpl implements IIndustryMaterialService { industryStep.setBatchId(industryMaterialVo.getBatchId()); industryStep.setMaterialId(industryMaterialVo.getId()); industryStep.setState(2L); - List industryStepVos = industryStepMapper.selectIndustryStepList(industryStep); + List industryStepVos = industryStepMapper.selectErrorIndustryStepList(industryStep); for (IndustryStepVo industryStepVo : industryStepVos) { industryStepVo.setState(0L); industryStepMapper.updateIndustryStep(industryStepVo); diff --git a/industry-system/src/main/resources/mapper/work/IndustryStepMapper.xml b/industry-system/src/main/resources/mapper/work/IndustryStepMapper.xml index 5b547cee..596ea1f5 100644 --- a/industry-system/src/main/resources/mapper/work/IndustryStepMapper.xml +++ b/industry-system/src/main/resources/mapper/work/IndustryStepMapper.xml @@ -64,7 +64,6 @@ and step = #{step} - and del_flag = #{delFlag} and reduction = #{reduction} and set_value = #{setValue} and angle = #{angle} @@ -72,6 +71,7 @@ and state = #{state} and material_id = #{materialId} and batch_id = #{batchId} + and del_flag = #{delFlag} order by step