|
|
|
@ -401,8 +401,7 @@ |
|
|
|
set process = #{process}, |
|
|
|
overPrintOperator = #{overPrintOperator}, |
|
|
|
printOperator = #{printOperator} |
|
|
|
where site = #{site} |
|
|
|
and code_no = #{codeNo} |
|
|
|
where site = #{site} and code_no = #{codeNo} |
|
|
|
</update> |
|
|
|
|
|
|
|
<select id="getTestPartChangeData" resultType="PlmProjectPartData"> |
|
|
|
@ -512,7 +511,8 @@ |
|
|
|
</update> |
|
|
|
|
|
|
|
<select id="searchBMcustomerInfo" resultType="PlmTechnicalSpecificationSheetData"> |
|
|
|
select a.site, |
|
|
|
select |
|
|
|
a.site, |
|
|
|
a.code_no, |
|
|
|
a.picture_addess, |
|
|
|
a.customerPictureChangeRemark, |
|
|
|
@ -538,12 +538,9 @@ |
|
|
|
pcpi.customer_part_no |
|
|
|
from plm_technical_specification_sheet a |
|
|
|
left join plm_project_info b on a.site = b.site and a.project_id = b.project_id |
|
|
|
left join view_Project_final_Part c |
|
|
|
on a.site = c.site and a.test_part_no = c.test_part_no 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 b.customer_id = pcpi.customer_no |
|
|
|
where a.site = #{site} |
|
|
|
and a.code_no = #{codeNo} |
|
|
|
left join view_Project_final_Part c on a.site = c.site and a.test_part_no = c.test_part_no 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 b.customer_id = pcpi.customer_no |
|
|
|
where a.site = #{site} and a.code_no = #{codeNo} |
|
|
|
</select> |
|
|
|
|
|
|
|
<update id="updateBMcustomerInfo"> |
|
|
|
@ -2392,8 +2389,10 @@ |
|
|
|
</select> |
|
|
|
|
|
|
|
<insert id="saveCustomerPartNo"> |
|
|
|
insert into plm_customer_part_info(site, customer_no, part_no, customer_part_no, create_date, create_by) |
|
|
|
values (#{site}, #{customerId}, #{partNo}, #{customerPartNo}, getdate(), #{username}) |
|
|
|
insert into plm_customer_part_info |
|
|
|
(site, customer_no, part_no, customer_part_no, create_date, create_by) |
|
|
|
values |
|
|
|
(#{site}, #{customerId}, #{partNo}, #{customerPartNo}, getdate(), #{username}) |
|
|
|
</insert> |
|
|
|
|
|
|
|
<update id="updateCustomerPartNo"> |
|
|
|
@ -2401,9 +2400,7 @@ |
|
|
|
set customer_part_no = #{customerPartNo}, |
|
|
|
update_by = #{username}, |
|
|
|
update_date = getdate() |
|
|
|
where site = #{site} |
|
|
|
and customer_no = #{customerId} |
|
|
|
and part_no = #{partNo} |
|
|
|
where site = #{site} and customer_no = #{customerId} and part_no = #{partNo} |
|
|
|
</update> |
|
|
|
|
|
|
|
<select id="technicalSpecificationList" resultType="com.spring.modules.sampleManagement.data.PlmTechnicalSpecificationSheetData"> |
|
|
|
@ -2730,8 +2727,7 @@ |
|
|
|
set is_remark = 1 |
|
|
|
where site = #{site} and document_no = #{codeNo} and document_type = 'BM' and is_remark = 0 |
|
|
|
</update> |
|
|
|
<update id="updateBMProcessInfo" |
|
|
|
parameterType="com.spring.modules.sampleManagement.data.PlmTechnicalSpecificationSheetData"> |
|
|
|
<update id="updateBMProcessInfo" parameterType="com.spring.modules.sampleManagement.data.PlmTechnicalSpecificationSheetData"> |
|
|
|
UPDATE plm_technical_specification_sheet |
|
|
|
SET simplex_duplex = #{simplexDuplex}, |
|
|
|
repeat = #{repeat}, |
|
|
|
@ -2749,12 +2745,10 @@ |
|
|
|
slitting_tolerance = #{slittingTolerance}, |
|
|
|
label_length = #{labelLength}, |
|
|
|
label_width = #{labelWidth} |
|
|
|
where site = #{site} |
|
|
|
and code_no = #{codeNo} |
|
|
|
where site = #{site} and code_no = #{codeNo} |
|
|
|
</update> |
|
|
|
|
|
|
|
<select id="nodeList" resultType="com.spring.modules.sampleManagement.entity.NodeVo" |
|
|
|
parameterType="com.spring.modules.sampleManagement.data.PlmTechnicalSpecificationSheetData"> |
|
|
|
<select id="nodeList" resultType="com.spring.modules.sampleManagement.entity.NodeVo" parameterType="com.spring.modules.sampleManagement.data.PlmTechnicalSpecificationSheetData"> |
|
|
|
SELECT |
|
|
|
d.node_id AS nodeId, |
|
|
|
d.node_name AS nodeName |
|
|
|
|