退料申请表数据问题修改

This commit is contained in:
liang.chao 2024-03-20 14:14:49 +08:00
parent e57c7938fe
commit 463d5bee5a
1 changed files with 31 additions and 28 deletions

View File

@ -474,9 +474,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join ma_machine mm on pmi.ma_code = mm.ma_code
left join ma_type mt on pcd.type_id = mt.type_id
left join ma_type mt1 on mt.parent_id = mt1.type_id
where pcd.task_id = #{taskId} and mt.type_id #{typeId}
where pcd.task_id = #{taskId} and mt.type_id = #{typeId}
and pcd.`status`!=3 and pcd.`status`!=7
<if test="dictName != null and dictName != ''">
and (mt.type_name like concat('%',#{dictName},'%') or
mt1.type_name like concat('%',#{dictName},'%'))
</if>
order by status
</select>