|
|
|
@ -1066,22 +1066,22 @@ step_id,reject_flag,reject_step_id,mpOperator,pod |
|
|
|
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} |
|
|
|
and a.site=#{query.site} |
|
|
|
|
|
|
|
<if test="projectId!= null and projectId != ''"> |
|
|
|
AND a.project_id like #{projectId} |
|
|
|
<if test="query.projectId!= null and query.projectId != ''"> |
|
|
|
AND a.project_id like #{query.projectId} |
|
|
|
</if> |
|
|
|
<if test="finalPartNo!= null and finalPartNo != ''"> |
|
|
|
AND a.Final_Part_No like #{finalPartNo} |
|
|
|
<if test="query.finalPartNo!= null and query.finalPartNo != ''"> |
|
|
|
AND a.Final_Part_No like #{query.finalPartNo} |
|
|
|
</if> |
|
|
|
<if test="customerPartNo!= null and customerPartNo != ''"> |
|
|
|
AND pcpi.customer_part_no like #{customerPartNo} |
|
|
|
<if test="query.customerPartNo!= null and query.customerPartNo != ''"> |
|
|
|
AND pcpi.customer_part_no like #{query.customerPartNo} |
|
|
|
</if> |
|
|
|
<if test="testPartNo!= null and testPartNo != ''"> |
|
|
|
AND a.Test_part_no like #{testPartNo} |
|
|
|
<if test="query.testPartNo!= null and query.testPartNo != ''"> |
|
|
|
AND a.Test_part_no like #{query.testPartNo} |
|
|
|
</if> |
|
|
|
<if test="partDesc!= null and partDesc != ''"> |
|
|
|
AND a.Part_desc like #{partDesc} |
|
|
|
<if test="query.partDesc!= null and query.partDesc != ''"> |
|
|
|
AND a.Part_desc like #{query.partDesc} |
|
|
|
</if> |
|
|
|
and a.RealFlag='Y' |
|
|
|
</where> |
|
|
|
|