bug尝试修复
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user