Browse Source

1127

master
ruanqi 1 year ago
parent
commit
2f22d30064
  1. 4
      src/main/resources/mapper/sampleManagement/TechnicalSpecificationMapper.xml

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

@ -838,13 +838,13 @@ id
<select id="getBMBomDetail" resultType="com.spring.modules.part.entity.BomDetailEntity">
select a.site,a.bom_type,a.eng_chg_level,a.bom_alternative_no alternativeNo,b.final_part_no partNo
from plm_technical_specification_sheet a left join view_Project_Part b on a.site=b.site and a.test_part_no=b.test_part_no
where a.site=#{site} and a.code_no=#{codeNo}
where a.site=#{site} and a.code_no=#{codeNo} and a.project_id=b.project_id
</select>
<select id="getBMRouteDetail" resultType="com.spring.modules.part.entity.RoutingDetailEntity">
select a.site,a.routing_type,a.routing_revision,
a.routing_alternative_no alternativeNo,b.final_part_no partNo
from plm_technical_specification_sheet a left join view_Project_Part b on a.site=b.site and a.test_part_no=b.test_part_no
where a.site=#{site} and a.code_no=#{codeNo}
where a.site=#{site} and a.code_no=#{codeNo} and a.project_id=b.project_id
</select>

Loading…
Cancel
Save