|
|
@ -2756,7 +2756,7 @@ |
|
|
a.AC, |
|
|
a.AC, |
|
|
a.RE, |
|
|
a.RE, |
|
|
a.item_no, |
|
|
a.item_no, |
|
|
a.item_desc, |
|
|
|
|
|
|
|
|
d.ItemDesc as itemDesc, |
|
|
a.object_id, |
|
|
a.object_id, |
|
|
a.object_desc, |
|
|
a.object_desc, |
|
|
a.default_value, |
|
|
a.default_value, |
|
|
@ -2765,7 +2765,7 @@ |
|
|
a.text_value, |
|
|
a.text_value, |
|
|
a.number_value, |
|
|
a.number_value, |
|
|
a.value_type_db, |
|
|
a.value_type_db, |
|
|
a.value_type, |
|
|
|
|
|
|
|
|
d.ValueType as valueType, |
|
|
case when a.item_result = '' or a.item_result is null then 'Y' else a.item_result end as itemResult, |
|
|
case when a.item_result = '' or a.item_result is null then 'Y' else a.item_result end as itemResult, |
|
|
a.is_submit, |
|
|
a.is_submit, |
|
|
isnull(a.unqualified_quantity,0) as unqualifiedQuantity, |
|
|
isnull(a.unqualified_quantity,0) as unqualifiedQuantity, |
|
|
@ -2777,6 +2777,7 @@ |
|
|
FROM qc_iqc_detailed_record as a |
|
|
FROM qc_iqc_detailed_record as a |
|
|
LEFT JOIN qc_method_item as b on a.site = b.site and a.item_no = b.ItemNo and a.bu_no = b.bu_no |
|
|
LEFT JOIN qc_method_item as b on a.site = b.site and a.item_no = b.ItemNo and a.bu_no = b.bu_no |
|
|
LEFT JOIN qc_method as c on b.site = c.site and b.method_no = c.method_no and b.bu_no = c.bu_no |
|
|
LEFT JOIN qc_method as c on b.site = c.site and b.method_no = c.method_no and b.bu_no = c.bu_no |
|
|
|
|
|
LEFT JOIN eam_properties_item d on a.site = b.site and a.item_no = d.ItemNo |
|
|
WHERE a.inspection_no = #{inspectionNo} and a.site = #{site} and a.bu_no = #{buNo} |
|
|
WHERE a.inspection_no = #{inspectionNo} and a.site = #{site} and a.bu_no = #{buNo} |
|
|
order by a.order_id |
|
|
order by a.order_id |
|
|
</select> |
|
|
</select> |
|
|
|