select id, work_order_no, sfc_code, product_code, production_line, location_code, equipment_no, param_code, param_value, param_upper, param_lower, param_standard, collection_time, spare_field_1, spare_field_2, create_user, create_time, update_user, update_time, state, param_name, unit, type, repair_flag from da_param_collection
insert into da_param_collection
id,
work_order_no,
sfc_code,
product_code,
production_line,
location_code,
equipment_no,
param_code,
param_value,
param_upper,
param_lower,
param_standard,
collection_time,
spare_field_1,
spare_field_2,
create_user,
create_time,
update_user,
update_time,
state,
param_name,
unit,
type,
#{id},
#{workOrderNo},
#{sfcCode},
#{productCode},
#{productionLine},
#{locationCode},
#{equipmentNo},
#{paramCode},
#{paramValue},
#{paramUpper},
#{paramLower},
#{paramStandard},
#{collectionTime},
#{spareField1},
#{spareField2},
#{createUser},
#{createTime},
#{updateUser},
#{updateTime},
#{state},
#{paramName},
#{unit},
#{type},
update da_param_collection
work_order_no = #{workOrderNo},
sfc_code = #{sfcCode},
product_code = #{productCode},
production_line = #{productionLine},
location_code = #{locationCode},
equipment_no = #{equipmentNo},
param_code = #{paramCode},
param_value = #{paramValue},
param_upper = #{paramUpper},
param_lower = #{paramLower},
param_standard = #{paramStandard},
collection_time = #{collectionTime},
spare_field_1 = #{spareField1},
spare_field_2 = #{spareField2},
create_user = #{createUser},
create_time = #{createTime},
update_user = #{updateUser},
update_time = #{updateTime},
state = #{state},
param_name = #{paramName},
unit = #{unit},
type = #{type},
where id = #{id}
delete from da_param_collection where id = #{id}
delete from da_param_collection where id in
#{id}