|
|
|
@ -106,8 +106,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
from sys_factory where f_type = 'c'
|
|
|
|
|
</select>
|
|
|
|
|
<select id="getXJCheckTableList" resultType="com.op.quality.domain.QcStaticTable">
|
|
|
|
|
select distinct check_no checkNo,
|
|
|
|
|
order_no orderNo,income_batch_no incomeBatchNo,
|
|
|
|
|
select distinct
|
|
|
|
|
order_no orderNo,
|
|
|
|
|
material_code materialCode, material_name materialName,
|
|
|
|
|
quality,unit,
|
|
|
|
|
supplier_code supplierCode,supplier_name supplierName,
|
|
|
|
@ -150,7 +150,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
)ymdms
|
|
|
|
|
from qc_check_task qct
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|