|
|
@ -43,7 +43,7 @@
|
|
|
|
left join pro_process p on p.process_id = rfid.next_process_id
|
|
|
|
left join pro_process p on p.process_id = rfid.next_process_id
|
|
|
|
left join pro_order_workorder w on w.workorder_code = rfid.workorder_code
|
|
|
|
left join pro_order_workorder w on w.workorder_code = rfid.workorder_code
|
|
|
|
left join base_product bp on bp.product_code = w.product_code
|
|
|
|
left join base_product bp on bp.product_code = w.product_code
|
|
|
|
where rfid.bind_status = '1'
|
|
|
|
where rfid.bind_status = '1' and w.del_flag = '0'
|
|
|
|
and rfid.rfid = #{rfidNo}
|
|
|
|
and rfid.rfid = #{rfidNo}
|
|
|
|
order by rfid.create_time desc
|
|
|
|
order by rfid.create_time desc
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
@ -53,7 +53,7 @@
|
|
|
|
when equipment_type_code ='equ_type_hf' then '2'
|
|
|
|
when equipment_type_code ='equ_type_hf' then '2'
|
|
|
|
else '' end
|
|
|
|
else '' end
|
|
|
|
from base_equipment
|
|
|
|
from base_equipment
|
|
|
|
where equipment_code = #{equipmentCode}
|
|
|
|
where equipment_code = #{equipmentCode} and del_flag = '0'
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="getEquipNum" resultType="java.lang.Integer">
|
|
|
|
<select id="getEquipNum" resultType="java.lang.Integer">
|
|
|
|