|
|
|
@ -73,7 +73,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
left join pro_process pp on pp.process_id = ppd.next_process_id
|
|
|
|
|
left join pro_process ppp on ppp.process_id = ppd.now_process_id
|
|
|
|
|
left join pro_order_workorder pow on pow.workorder_code = ppd.workorder_code
|
|
|
|
|
order by ppd.in_time desc
|
|
|
|
|
|
|
|
|
|
<where>
|
|
|
|
|
<if test="workorderCode != null and workorderCode != ''"> and ppd.workorder_code like concat('%', #{workorderCode}, '%')</if>
|
|
|
|
|
<if test="rfid != null and rfid != ''"> and rfid like concat('%', #{rfid}, '%')</if>
|
|
|
|
@ -92,6 +92,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="workBatchCode != null and workBatchCode != ''"> and work_batch_code = #{workBatchCode}</if>
|
|
|
|
|
<if test="bindStatus != null and bindStatus != ''"> and bind_status = #{bindStatus}</if>
|
|
|
|
|
</where>
|
|
|
|
|
order by ppd.in_time desc
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="selectProRfidProcessDetailByRecordId" parameterType="String" resultMap="ProRfidProcessDetailResult">
|
|
|
|
|