|
|
|
@ -389,7 +389,7 @@ a.wiRevison,a.wiDate,a.routingRemark,a.routingAction, |
|
|
|
<select id="searchBMPropertiesValue" resultType="PlmBmPropertiesValueData"> |
|
|
|
select a.Site,a.bu_no,a.PartNo,a.CodeNo,a.SubCodeSeqNo,a.SubCodeDesc,a.ItemNo,a.PropertiesItemNo,a.TextValue,a.NumValue,a.RecordType,a.order_id,b.itemDesc,b.ValueType_DB,b.ValueChooseFlag |
|
|
|
from plm_bm_propertiesValue a left join plm_properties_item b on a.PropertiesItemNo=b.ItemNo and a.site=b.site and a.RecordType=b.ItemType |
|
|
|
where a.site=${site} and a.bu_no=#{buNo} and a.RecordType='BM' and a.CodeNo=#{type} and a.PartNo=#{codeNo} order by a.order_id |
|
|
|
where a.site=#{site} and a.bu_no=#{buNo} and a.RecordType='BM' and a.CodeNo=#{type} and a.PartNo=#{codeNo} order by a.order_id |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="getAvailableValueList" resultType="PlmPropertiesItemAvailableData"> |
|
|
|
@ -926,7 +926,7 @@ id |
|
|
|
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,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' |
|
|
|
where a.part_no=#{partNo} and a.site=#{site} and a.bom_type!='Repair' and a.status='Buildable' |
|
|
|
</select> |
|
|
|
<update id="updateBMBomRev"> |
|
|
|
update plm_technical_specification_sheet set bom_type=#{bomType},eng_chg_level=#{engChgLevel,jdbcType=INTEGER}, |
|
|
|
|