diff --git a/src/main/resources/mapper/change/ChangeManagementMapper.xml b/src/main/resources/mapper/change/ChangeManagementMapper.xml index 5ace0c7b..590ab4c3 100644 --- a/src/main/resources/mapper/change/ChangeManagementMapper.xml +++ b/src/main/resources/mapper/change/ChangeManagementMapper.xml @@ -819,7 +819,7 @@ a.review FROM plm_request_header as c left join plm_request_node as b on c.site = b.site and c.bu = b.bu and c.classification_no = b.classification_no - LEFT JOIN plm_request_node_detail as a on a.classification_no = b.classification_no and a.node_id = b.node_id + LEFT JOIN plm_request_node_detail as a on a.site = b.site and a.classification_no = b.classification_no and a.node_id = b.node_id WHERE b.site = #{site} and b.workflow_id = #{workflowId} and c.menu_id = #{menuId} and b.node_id = (select top 1 node_id from plm_request_node where site = #{site} and workflow_id = #{workflowId} order by seq_no) diff --git a/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml b/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml index 83d85cb9..99e31cb9 100644 --- a/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml +++ b/src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml @@ -2248,7 +2248,9 @@ ecn_upgrade_version, ecn_need_change_drawing, ecn_upgrade_flag, - url_file + url_file, + copy_flag, + shop_order FROM plm_technical_specification_sheet a where a.site = #{site} and a.code_no = #{codeNo}