|
|
|
@ -1438,11 +1438,11 @@ |
|
|
|
FROM view_Project_final_Part as a |
|
|
|
left join plm_project_info as c on a.site = c.site and a.project_id = c.project_id |
|
|
|
left join plm_customer_part_info as pcpi on a.site = pcpi.site and a.test_part_no = pcpi.part_no and c.customer_id = pcpi.customer_no |
|
|
|
left join plm_technical_specification_sheet d on a.site = d.site and a.test_part_no = d.test_part_no |
|
|
|
<!-- left join plm_technical_specification_sheet d on a.site = d.site and a.test_part_no = d.test_part_no--> |
|
|
|
left join plm_change_request_detail T ON A.SITE = T.SITE AND A.FINAL_PART_NO = T.PART_NO |
|
|
|
<where> |
|
|
|
a.site = #{query.site} |
|
|
|
and d.test_part_no is null |
|
|
|
<!-- and d.test_part_no is null--> |
|
|
|
and T.PART_NO is null |
|
|
|
<if test="query.buNo != null and query.buNo != ''"> |
|
|
|
AND a.bu_no = #{query.buNo} |
|
|
|
|