select id, prod_code, prod_name, country, trans_line_code, status, carry_type, begin_weight, end_weight, begin_date, end_date, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_special_calc_weight
insert into emis_special_calc_weight
id,
prod_code,
prod_name,
country,
trans_line_code,
status,
carry_type,
begin_weight,
end_weight,
begin_date,
end_date,
remark,
tenant_id,
del_flag,
create_by,
create_time,
update_by,
update_time,
create_site,
update_site,
#{id},
#{prodCode},
#{prodName},
#{country},
#{transLineCode},
#{status},
#{carryType},
#{beginWeight},
#{endWeight},
#{beginDate},
#{endDate},
#{remark},
#{tenantId},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{createSite},
#{updateSite},
update emis_special_calc_weight
prod_code = #{prodCode},
prod_name = #{prodName},
country = #{country},
trans_line_code = #{transLineCode},
status = #{status},
carry_type = #{carryType},
begin_weight = #{beginWeight},
end_weight = #{endWeight},
begin_date = #{beginDate},
end_date = #{endDate},
remark = #{remark},
tenant_id = #{tenantId},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
create_site = #{createSite},
update_site = #{updateSite},
where id = #{id}
update emis_special_calc_weight set del_flag='1' where id = #{id}
update emis_special_calc_weight set del_flag='1' where id in
#{id}