@ -49,8 +49,10 @@
srm_supplier s ON n.supplier_no = s.supplier_no
LEFT JOIN
part p ON n.item_code = p.part_no
AND n.site = p.site
left join
POHeader poh ON n.pur_order = poh.po_no
AND n.site = poh.site
<where>
<if test="npciqc.site != null and npciqc.site != ''">
AND n.site = #{npciqc.site}