巡检触发逻辑变更

master
zhaoxiaolin 1 year ago
parent c83450bfa9
commit 816efb1f5a

@ -106,8 +106,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from sys_factory where f_type = 'c' from sys_factory where f_type = 'c'
</select> </select>
<select id="getXJCheckTableList" resultType="com.op.quality.domain.QcStaticTable"> <select id="getXJCheckTableList" resultType="com.op.quality.domain.QcStaticTable">
select distinct check_no checkNo, select distinct
order_no orderNo,income_batch_no incomeBatchNo, order_no orderNo,
material_code materialCode, material_name materialName, material_code materialCode, material_name materialName,
quality,unit, quality,unit,
supplier_code supplierCode,supplier_name supplierName, supplier_code supplierCode,supplier_name supplierName,
@ -150,7 +150,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
)ymdms )ymdms
from qc_check_task qct from qc_check_task qct
left join qc_check_task_detail qctd on qct.record_id = qctd.belong_to left join qc_check_task_detail qctd on qct.record_id = qctd.belong_to
where qct.qct.order_no = #{orderNo} and qct.check_type = 'checkTypeSCXJ' where qct.order_no = #{orderNo} and qct.check_type = 'checkTypeSCXJ'
order by qctd.create_time order by qctd.create_time
</select> </select>

Loading…
Cancel
Save