退料申请表数据问题修改
This commit is contained in:
parent
e57c7938fe
commit
463d5bee5a
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue