|
|
|
@ -1061,8 +1061,8 @@ step_id,reject_flag,reject_step_id,mpOperator,pod |
|
|
|
<select id="getFinalPartData" resultType="PlmProjectPartData"> |
|
|
|
Select a.Final_Part_No,a.Test_part_no,a.Active, a.Part_desc ,a.project_id,pcpi.customer_part_no,a.bu_no |
|
|
|
from view_Project_final_Part a |
|
|
|
left join plm_project_info c on a.site = c.site and a.project_id = c.project_id |
|
|
|
left join plm_customer_part_info pcpi on a.site = pcpi.site and a.test_part_no = pcpi.part_no and c.customer_id = pcpi.customer_no |
|
|
|
left join plm_project_info c on a.site = c.site and a.project_id = c.project_id |
|
|
|
left join plm_customer_part_info pcpi on a.site = pcpi.site and a.test_part_no = pcpi.part_no and c.customer_id = pcpi.customer_no |
|
|
|
<where> |
|
|
|
and a.site=#{site} |
|
|
|
|
|
|
|
@ -1095,4 +1095,15 @@ step_id,reject_flag,reject_step_id,mpOperator,pod |
|
|
|
where a.site=#{site} and a.code_no=#{codeNo} |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<select id="searchCopyPart" resultType="PlmProjectPartData"> |
|
|
|
Select a.Final_Part_No,a.Test_part_no,a.Active, a.Part_desc ,a.project_id,pcpi.customer_part_no,a.bu_no |
|
|
|
from plm_project_info c |
|
|
|
left join view_Project_Part a on a.site = c.site and a.project_id = c.project_id |
|
|
|
left join plm_customer_part_info pcpi on a.site = pcpi.site and a.test_part_no = pcpi.part_no and c.customer_id = pcpi.customer_no |
|
|
|
left join part p on a.Final_Part_No=p.part_no |
|
|
|
where a.project_id=#{projectId} and a.site=#{site} and a.Test_part_no!=#{testPartNo} and a.realFlag='Y' |
|
|
|
|
|
|
|
</select> |
|
|
|
|
|
|
|
</mapper> |