diff --git a/src/main/java/com/spring/modules/sampleManagement/data/PlmTechnicalSpecificationSheetData.java b/src/main/java/com/spring/modules/sampleManagement/data/PlmTechnicalSpecificationSheetData.java index 79bd4b32..7d40df52 100644 --- a/src/main/java/com/spring/modules/sampleManagement/data/PlmTechnicalSpecificationSheetData.java +++ b/src/main/java/com/spring/modules/sampleManagement/data/PlmTechnicalSpecificationSheetData.java @@ -29,6 +29,7 @@ public class PlmTechnicalSpecificationSheetData extends PlmTechnicalSpecificatio private String finalCustomerNo; private String finalCustomerDesc; private String customerDesc; + private String customerNo; private String partNo; private String partFamily; private String newPartNo; @@ -648,6 +649,14 @@ public class PlmTechnicalSpecificationSheetData extends PlmTechnicalSpecificatio this.customerDesc = customerDesc; } + public String getCustomerNo() { + return customerNo; + } + + public void setCustomerNo(String customerNo) { + this.customerNo = customerNo; + } + @Override public String getProofingNo() { return proofingNo; diff --git a/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml b/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml index 58ab098e..1332a2ed 100644 --- a/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml +++ b/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml @@ -2567,10 +2567,13 @@ a.stage, a.label_length, a.label_width, - a.radius + a.radius, + cust.customer_no as customerNo, + cust.customer_desc as customerDesc FROM plm_technical_specification_sheet a left join view_Project_final_Part b on a.site = b.site and a.project_id = b.project_id and a.test_part_no = b.test_part_no left join plm_project_info c on a.site = c.site and a.project_id = c.project_id + left join plm_customer_information cust on cust.site = c.site and cust.customer_no = c.customer_id left join plm_request_header as prh on a.site = prh.site and prh.menu_id = '103002' left join plm_request_node as d on a.site = d.site and prh.classification_no = d.classification_no and prh.workflow_id = d.workflow_id and a.step_id = d.step_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 @@ -3015,11 +3018,14 @@ a.stage, a.label_length, a.label_width, - a.radius + a.radius, + cust.customer_no as customerNo, + cust.customer_desc as customerDesc FROM plm_technical_specification_sheet a left join view_Project_final_Part b on a.site = b.site and a.project_id = b.project_id and a.test_part_no = b.test_part_no left join plm_project_info c on a.site = c.site and a.project_id = c.project_id + left join plm_customer_information cust on cust.site = c.site and cust.customer_no = c.customer_id left join plm_request_header as prh on a.site = prh.site and prh.menu_id = '103002' left join plm_request_node as d on a.site = d.site and prh.classification_no = d.classification_no and prh.workflow_id = d.workflow_id and a.step_id = d.step_id