Browse Source

2025-04-22

master
qiezi 9 months ago
parent
commit
40e13f3c73
  1. 3
      src/main/resources/mapper/quotation/QuotationInformationMapper.xml
  2. 17
      src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml

3
src/main/resources/mapper/quotation/QuotationInformationMapper.xml

@ -587,7 +587,8 @@
</select> </select>
<select id="getProjectPartPage" resultType="com.spring.modules.project.data.PlmProjectPartData"> <select id="getProjectPartPage" resultType="com.spring.modules.project.data.PlmProjectPartData">
SELECT ppp.site,
SELECT
ppp.site,
ppp.test_part_no, ppp.test_part_no,
ppp.part_desc, ppp.part_desc,
ppp.part_spec, ppp.part_spec,

17
src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml

@ -1229,13 +1229,20 @@ step_id,reject_flag,reject_step_id,mpOperator,pod
</select> </select>
<select id="getFinalPartData" resultType="PlmProjectPartData"> <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
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 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> <where>
and a.site=#{query.site} and a.site=#{query.site}
<if test="query.projectId!= null and query.projectId != ''"> <if test="query.projectId!= null and query.projectId != ''">
AND a.project_id like #{query.projectId} AND a.project_id like #{query.projectId}
</if> </if>
@ -1251,7 +1258,7 @@ step_id,reject_flag,reject_step_id,mpOperator,pod
<if test="query.partDesc!= null and query.partDesc != ''"> <if test="query.partDesc!= null and query.partDesc != ''">
AND a.Part_desc like #{query.partDesc} AND a.Part_desc like #{query.partDesc}
</if> </if>
and a.RealFlag='Y'
and a.RealFlag = 'Y'
</where> </where>
</select> </select>

Loading…
Cancel
Save