diff --git a/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml b/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml index 4df79e9e..0ee2a318 100644 --- a/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml +++ b/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml @@ -249,10 +249,12 @@ select a.site,a.code_no,a.picture_addess,a.customerPictureChangeRemark,a.productionFileComments, b.final_customer_id finalCustomerNo,dbo.plm_get_customer_desc(a.site,b.final_customer_id) finalCustomerDesc, a.test_part_no as part_no,c.part_desc,c.material_number,c.part_type as part_family,b.customer_remark, - a.remark,a.ori_code_no,a.materialType,a.customerRevNo,a.materialNumber,a.certification,a.customerRemark,a.projectRemark + a.remark,a.ori_code_no,a.materialType,a.customerRevNo,a.materialNumber,a.certification,a.customerRemark,a.projectRemark,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}