|
|
@ -596,9 +596,9 @@ |
|
|
c.sub_detail_value_c, |
|
|
c.sub_detail_value_c, |
|
|
c.sub_detail_value_d, |
|
|
c.sub_detail_value_d, |
|
|
c.sub_detail_value_e |
|
|
c.sub_detail_value_e |
|
|
FROM qc_iqc_sub_detail_record as c |
|
|
|
|
|
LEFT JOIN qc_iqc_detailed_record as b on b.site = c.site AND b.bu_no = c.bu_no AND b.inspection_no = c.inspection_no and b.item_no = c.item_no |
|
|
|
|
|
Left JOIN qc_iqc_record as a ON a.site = b.site AND a.bu_no = b.bu_no AND a.inspection_no = b.inspection_no |
|
|
|
|
|
|
|
|
FROM qc_iqc_record as a |
|
|
|
|
|
inner JOIN qc_iqc_detailed_record as b ON a.site = b.site AND a.bu_no = b.bu_no AND a.inspection_no = b.inspection_no |
|
|
|
|
|
inner JOIN qc_iqc_sub_detail_record as c on b.site = c.site AND b.bu_no = c.bu_no AND b.inspection_no = c.inspection_no and b.item_no = c.item_no |
|
|
left join part as d on a.site = d.site and a.bu_no = d.sourceBu and a.part_no = d.part_no |
|
|
left join part as d on a.site = d.site and a.bu_no = d.sourceBu and a.part_no = d.part_no |
|
|
left join view_Supplier as s on a.site = s.site and a.supplier_no = s.SupplierID |
|
|
left join view_Supplier as s on a.site = s.site and a.supplier_no = s.SupplierID |
|
|
left join sys_user as u on a.inspector_no = u.username |
|
|
left join sys_user as u on a.inspector_no = u.username |
|
|
@ -806,9 +806,9 @@ |
|
|
c.sub_detail_value_c, |
|
|
c.sub_detail_value_c, |
|
|
c.sub_detail_value_d, |
|
|
c.sub_detail_value_d, |
|
|
c.sub_detail_value_e |
|
|
c.sub_detail_value_e |
|
|
FROM qc_iqc_sub_detail_record as c |
|
|
|
|
|
LEFT JOIN qc_iqc_detailed_record as b on b.site = c.site AND b.bu_no = c.bu_no AND b.inspection_no = c.inspection_no and b.item_no = c.item_no |
|
|
|
|
|
Left JOIN qc_iqc_record as a ON a.site = b.site AND a.bu_no = b.bu_no AND a.inspection_no = b.inspection_no |
|
|
|
|
|
|
|
|
FROM qc_iqc_record as a |
|
|
|
|
|
inner JOIN qc_iqc_detailed_record as b ON a.site = b.site AND a.bu_no = b.bu_no AND a.inspection_no = b.inspection_no |
|
|
|
|
|
inner JOIN qc_iqc_sub_detail_record as c on b.site = c.site AND b.bu_no = c.bu_no AND b.inspection_no = c.inspection_no and b.item_no = c.item_no |
|
|
left join part as d on a.site = d.site and a.bu_no = d.sourceBu and a.part_no = d.part_no |
|
|
left join part as d on a.site = d.site and a.bu_no = d.sourceBu and a.part_no = d.part_no |
|
|
left join view_Supplier as s on a.site = s.site and a.supplier_no = s.SupplierID |
|
|
left join view_Supplier as s on a.site = s.site and a.supplier_no = s.SupplierID |
|
|
left join sys_user as u on a.inspector_no = u.username |
|
|
left join sys_user as u on a.inspector_no = u.username |
|
|
@ -943,9 +943,9 @@ |
|
|
c.sub_detail_value_c, |
|
|
c.sub_detail_value_c, |
|
|
c.sub_detail_value_d, |
|
|
c.sub_detail_value_d, |
|
|
c.sub_detail_value_e |
|
|
c.sub_detail_value_e |
|
|
FROM qc_ipqc_sub_detail_record as c |
|
|
|
|
|
LEFT JOIN qc_ipqc_detailed_record as b on b.site = c.site AND b.bu_no = c.bu_no AND b.inspection_no = c.inspection_no and b.item_no = c.item_no |
|
|
|
|
|
Left JOIN qc_ipqc_record as a ON a.site = b.site AND a.bu_no = b.bu_no AND a.inspection_no = b.inspection_no |
|
|
|
|
|
|
|
|
FROM qc_ipqc_record as a |
|
|
|
|
|
inner JOIN qc_ipqc_detailed_record as b ON a.site = b.site AND a.bu_no = b.bu_no AND a.inspection_no = b.inspection_no |
|
|
|
|
|
inner JOIN qc_ipqc_sub_detail_record as c on b.site = c.site AND b.bu_no = c.bu_no AND b.inspection_no = c.inspection_no and b.item_no = c.item_no |
|
|
left join part as d on a.site = d.site and a.bu_no = d.sourceBu and a.part_no = d.part_no |
|
|
left join part as d on a.site = d.site and a.bu_no = d.sourceBu and a.part_no = d.part_no |
|
|
left join sys_user as u on a.inspector_no = u.username |
|
|
left join sys_user as u on a.inspector_no = u.username |
|
|
left join resource as r on a.site = r.site and a.resource_id = r.resource_id and a.work_center_no = r.work_center_no |
|
|
left join resource as r on a.site = r.site and a.resource_id = r.resource_id and a.work_center_no = r.work_center_no |
|
|
@ -1156,9 +1156,9 @@ |
|
|
c.sub_detail_value_c, |
|
|
c.sub_detail_value_c, |
|
|
c.sub_detail_value_d, |
|
|
c.sub_detail_value_d, |
|
|
c.sub_detail_value_e |
|
|
c.sub_detail_value_e |
|
|
FROM qc_ipqc_sub_detail_record as c |
|
|
|
|
|
LEFT JOIN qc_ipqc_detailed_record as b on b.site = c.site AND b.bu_no = c.bu_no AND b.inspection_no = c.inspection_no and b.item_no = c.item_no |
|
|
|
|
|
Left JOIN qc_ipqc_record as a ON a.site = b.site AND a.bu_no = b.bu_no AND a.inspection_no = b.inspection_no |
|
|
|
|
|
|
|
|
FROM qc_ipqc_record as a |
|
|
|
|
|
inner JOIN qc_ipqc_detailed_record as b ON a.site = b.site AND a.bu_no = b.bu_no AND a.inspection_no = b.inspection_no |
|
|
|
|
|
inner JOIN qc_ipqc_sub_detail_record as c on b.site = c.site AND b.bu_no = c.bu_no AND b.inspection_no = c.inspection_no and b.item_no = c.item_no |
|
|
left join part as d on a.site = d.site and a.bu_no = d.sourceBu and a.part_no = d.part_no |
|
|
left join part as d on a.site = d.site and a.bu_no = d.sourceBu and a.part_no = d.part_no |
|
|
left join sys_user as u on a.inspector_no = u.username |
|
|
left join sys_user as u on a.inspector_no = u.username |
|
|
left join resource as r on a.site = r.site and a.resource_id = r.resource_id and a.work_center_no = r.work_center_no |
|
|
left join resource as r on a.site = r.site and a.resource_id = r.resource_id and a.work_center_no = r.work_center_no |
|
|
|