Browse Source

1127

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

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

@ -910,7 +910,9 @@ 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_final_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} and a.project_id=b.project_id
left join plm_bom_detail c on a.site=c.site and b.final_part_no=c.part_no and a.eng_chg_level=c.eng_chg_level
and a.bom_alternative_no=c.alternative_no and a.bom_type=c.bom_type
where a.site=#{site} and a.code_no=#{codeNo} and a.project_id=b.project_id and c.status='Buildable'
</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

Loading…
Cancel
Save