select id, work_order_no, sfc_code,processes_name,processes_code, parameter_set_code ,parameter_set_name, 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 from da_param_collection
insert into da_param_collection
id,
work_order_no,
sfc_code,
product_code,
production_line,
location_code,
parameter_set_code,
parameter_set_name,
processes_code,
processes_name,
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},
#{parameter_set_code},
#{parameter_set_name},
#{processes_code},
#{processes_name},
#{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},
parameter_set_code = #{parameterSetCode},
parameter_set_name = #{parameterSetName},
processes_code = #{processesCode},
processes_name = #{processesName},
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}