|
|
@ -1289,7 +1289,9 @@ |
|
|
qat.operation, |
|
|
qat.operation, |
|
|
qat.manufacturer_id, |
|
|
qat.manufacturer_id, |
|
|
dbo.qc_get_supplier_name(qat.site, qat.manufacturer_id) as manufacturerName, |
|
|
dbo.qc_get_supplier_name(qat.site, qat.manufacturer_id) as manufacturerName, |
|
|
qat.resource_id |
|
|
|
|
|
|
|
|
qat.resource_id, |
|
|
|
|
|
qat.customer_id as customerID, |
|
|
|
|
|
dbo.qc_get_customer_name(qt.site, qat.customer_id) as customerName |
|
|
FROM qc_attribute_template as qat |
|
|
FROM qc_attribute_template as qat |
|
|
LEFT JOIN qc_part_attribute as qpa ON qpa.attribute_no = qat.attribute_no and qat.site = qpa.site and qat.bu_no = qpa.bu_no |
|
|
LEFT JOIN qc_part_attribute as qpa ON qpa.attribute_no = qat.attribute_no and qat.site = qpa.site and qat.bu_no = qpa.bu_no |
|
|
LEFT JOIN qc_template as qt ON qat.template_id = qt.template_id and qat.site = qt.site and qat.bu_no = qt.bu_no |
|
|
LEFT JOIN qc_template as qt ON qat.template_id = qt.template_id and qat.site = qt.site and qat.bu_no = qt.bu_no |
|
|
|