|
|
|
@ -96,19 +96,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<!--获取在邦rfid 工单的信息-->
|
|
|
|
|
<select id="getRfidInfo" resultType="com.op.system.api.domain.mes.ProRfidProcessDetail">
|
|
|
|
|
select
|
|
|
|
|
top 1
|
|
|
|
|
rfid.workorder_code workorderCode,
|
|
|
|
|
rfid.now_process_id nowProcessId,
|
|
|
|
|
rfid.next_process_id nextProcessId,
|
|
|
|
|
p.equipment machineCode,
|
|
|
|
|
bp.product_code productCode,
|
|
|
|
|
bp.product_model productModel,
|
|
|
|
|
w.prod_line_code prodLineCode
|
|
|
|
|
w.prod_line_code prodLineCode
|
|
|
|
|
from pro_rfid_process_detail rfid
|
|
|
|
|
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 base_product bp on bp.product_code = w.product_code
|
|
|
|
|
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 base_product bp on bp.product_code = w.product_code
|
|
|
|
|
where rfid.bind_status = '1'
|
|
|
|
|
and rfid.rfid = #{rfidNo}
|
|
|
|
|
and rfid.rfid = #{rfidNo}
|
|
|
|
|
order by rfid.create_time desc
|
|
|
|
|
</select>
|
|
|
|
|
<select id="getStationType" resultType="java.lang.String">
|
|
|
|
|
select
|
|
|
|
|