select id, product_code, product_name, beat, spare_field_1, spare_field_2, remark, create_user, create_time, update_user, update_time, data_source from bs_beat_setting
insert into bs_beat_setting
product_code,
product_name,
beat,
spare_field_1,
spare_field_2,
remark,
create_user,
create_time,
update_user,
update_time,
data_source,
#{productCode},
#{productName},
#{beat},
#{spareField1},
#{spareField2},
#{remark},
#{createUser},
#{createTime},
#{updateUser},
#{updateTime},
#{dataSource},
update bs_beat_setting
product_code = #{productCode},
product_name = #{productName},
beat = #{beat},
spare_field_1 = #{spareField1},
spare_field_2 = #{spareField2},
remark = #{remark},
create_user = #{createUser},
create_time = #{createTime},
update_user = #{updateUser},
update_time = #{updateTime},
data_source = #{dataSource},
where id = #{id}
delete from bs_beat_setting where id = #{id}
delete from bs_beat_setting where id in
#{id}