select id, table_name, user_id, surface, label, fixed, name, checked, width from sys_table_set insert into sys_table_set table_name, user_id, surface, label, name, checked, width, fixed, #{tableName}, #{userId}, #{surface}, #{label}, #{name}, #{checked}, #{width}, #{fixed}, update sys_table_set table_name = #{tableName}, user_id = #{userId}, surface = #{surface}, label = #{label}, name = #{name}, checked = #{checked}, width = #{width}, width = #{fixed}, where id = #{id} UPDATE sys_table_set surface = #{table.surface}, label = #{table.label}, name = #{table.name}, checked = #{table.checked}, width = #{table.width}, WHERE user_id = #{table.userId} AND table_name = #{table.tableName} delete from sys_table_set where user_id = #{userId} and table_name = #{tableName} delete from sys_table_set where id = #{id} delete from sys_table_set where id in #{id}