|
|
|
@ -793,11 +793,11 @@ a.routing_alternative_no alternativeNo,b.final_part_no partNo |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<select id="searchBMBomDetail" resultType="com.spring.modules.part.entity.BomDetailEntity"> |
|
|
|
<select id="searchBMBomDetail" resultType="com.spring.modules.part.vo.BomDetailVo"> |
|
|
|
select a.site,a.part_no,a.alternative_no,a.alternative_description,a.bom_type,a.eng_chg_level,a.min_lot_qty,a.default_flag, |
|
|
|
a.note_text,a.create_date,a.create_by,a.update_date,a.update_by,a.status,a.official_flag |
|
|
|
from plm_bom_detail a |
|
|
|
where part_no=#{partNo} and site=#{site} |
|
|
|
a.note_text,a.create_date,a.create_by,a.update_date,a.update_by,a.status,a.official_flag,B.eff_phase_in_date,B.eff_phase_out_date |
|
|
|
from plm_bom_detail a left join plm_bom_header b on a.site=b.site and a.part_no=b.part_NO AND A.eng_chg_level=B.eng_chg_level |
|
|
|
where a.part_no=#{partNo} and a.site=#{site} and a.bom_type!='Repair' |
|
|
|
</select> |
|
|
|
<update id="updateBMBomRev"> |
|
|
|
update plm_technical_specification_sheet set bom_type=#{bomType},eng_chg_level=#{engChgLevel,jdbcType=INTEGER}, |
|
|
|
|