bug尝试修复

This commit is contained in:
2025-07-16 17:24:52 +08:00
parent 18ada329e1
commit e329f3a48c
2 changed files with 2 additions and 2 deletions

View File

@@ -209,7 +209,7 @@ public class IndustryMaterialServiceImpl implements IIndustryMaterialService {
industryStep.setBatchId(industryMaterialVo.getBatchId());
industryStep.setMaterialId(industryMaterialVo.getId());
industryStep.setState(2L);
List<IndustryStepVo> industryStepVos = industryStepMapper.selectIndustryStepList(industryStep);
List<IndustryStepVo> industryStepVos = industryStepMapper.selectErrorIndustryStepList(industryStep);
for (IndustryStepVo industryStepVo : industryStepVos) {
industryStepVo.setState(0L);
industryStepMapper.updateIndustryStep(industryStepVo);

View File

@@ -64,7 +64,6 @@
<include refid="selectIndustryStepVo"/>
<where>
<if test="step != null ">and step = #{step}</if>
<if test="delFlag != null">and del_flag = #{delFlag}</if>
<if test="reduction != null ">and reduction = #{reduction}</if>
<if test="setValue != null ">and set_value = #{setValue}</if>
<if test="angle != null ">and angle = #{angle}</if>
@@ -72,6 +71,7 @@
<if test="state != null ">and state = #{state}</if>
<if test="materialId != null">and material_id = #{materialId}</if>
<if test="batchId != null">and batch_id = #{batchId}</if>
<if test="delFlag != null">and del_flag = #{delFlag}</if>
</where>
order by step
</select>