select id, start_value, end_value, attr1, create_by, create_time, update_by, update_time, factory_code, del_flag, sample_quality, check_type, type_code from qc_sample_rule
insert into qc_sample_rule
id,
start_value,
end_value,
attr1,
create_by,
create_time,
update_by,
update_time,
factory_code,
del_flag,
sample_quality,
check_type,
type_code,
#{id},
#{startValue},
#{endValue},
#{attr1},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{factoryCode},
#{delFlag},
#{sampleQuality},
#{checkType},
#{typeCode},
update qc_sample_rule
start_value = #{startValue},
end_value = #{endValue},
attr1 = #{attr1},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
factory_code = #{factoryCode},
del_flag = #{delFlag},
sample_quality = #{sampleQuality},
check_type = #{checkType},
type_code = #{typeCode},
where id = #{id}
delete from qc_sample_rule where id = #{id}
delete from qc_sample_rule where id in
#{id}