下工序机台获取接口

highway
zhaoxiaolin 1 year ago
parent 316c053a6e
commit b1d37a7c79

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

Loading…
Cancel
Save