select id, bom_line_id, bom_header_id, item_code, item_name, start_date, end_date, org_code,
del_flag, create_by, create_time, update_by, update_time, drawing_no, process_no, unit, num,
total_num, preparation_time, processing_time
from aps_bom_line
insert into aps_bom_line
bom_line_id,
bom_header_id,
item_code,
item_name,
start_date,
end_date,
org_code,
del_flag,
create_by,
create_time,
update_by,
update_time,
drawing_no,
process_no,
unit,
num,
total_num,
preparation_time,
processing_time,
#{bomLineId},
#{bomHeaderId},
#{itemCode},
#{itemName},
#{startDate},
#{endDate},
#{orgCode},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{drawingNo},
#{processNo},
#{unit},
#{num},
#{totalNum},
#{preparationTime},
#{processingTime},
update aps_bom_line
bom_line_id = #{bomLineId},
bom_header_id = #{bomHeaderId},
item_code = #{itemCode},
item_name = #{itemName},
start_date = #{startDate},
end_date = #{endDate},
org_code = #{orgCode},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
drawing_no = #{drawingNo},
process_no = #{processNo},
unit = #{unit},
num = #{num},
total_num = #{totalNum}
preparation_time = #{preparationTime},
processing_time = #{processingTime},
where id = #{id}
delete from aps_bom_line where id = #{id}
delete from aps_bom_line where id in
#{id}
select id, bom_line_id, item_code, item_name, num
from aps_bom_line