|
|
|
@ -389,6 +389,18 @@ |
|
|
|
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 d on c.site = d.site and c.customer_id = d.customer_no and a.test_part_no = d.part_no |
|
|
|
where a.site = #{query.site} and a.project_id = #{query.projectId} |
|
|
|
<if test="query.plmPartNo != null and query.plmPartNo != ''"> |
|
|
|
and b.plm_part_no like '%' + #{query.plmPartNo} + '%' |
|
|
|
</if> |
|
|
|
<if test="query.finalPartNo != null and query.finalPartNo != ''"> |
|
|
|
and a.final_part_no like '%' + #{query.finalPartNo} + '%' |
|
|
|
</if> |
|
|
|
<if test="query.customerPartNo != null and query.customerPartNo != ''"> |
|
|
|
and d.customer_part_no like '%' + #{query.customerPartNo} + '%' |
|
|
|
</if> |
|
|
|
<if test="query.partDesc != null and query.partDesc != ''"> |
|
|
|
and b.part_desc like '%' + #{query.partDesc} + '%' |
|
|
|
</if> |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="checkProjectInfoPartList" resultType="PlmProjectPartData"> |
|
|
|
|