select count_method_id, accept_rule_id, count_mode, count_type, count_value, value_type, sort, create_at, update_at, del_flag from mall_count_method
insert into mall_count_method
count_method_id,
accept_rule_id,
count_mode,
count_type,
count_value,
value_type,
sort,
create_at,
update_at,
del_flag,
#{countMethodId},
#{acceptRuleId},
#{countMode},
#{countType},
#{countValue},
#{valueType},
#{sort},
#{createAt},
#{updateAt},
#{delFlag},
update mall_count_method
accept_rule_id = #{acceptRuleId},
count_mode = #{countMode},
count_type = #{countType},
count_value = #{countValue},
value_type = #{valueType},
sort = #{sort},
create_at = #{createAt},
update_at = #{updateAt},
del_flag = #{delFlag},
where count_method_id = #{countMethodId}
delete from mall_count_method where count_method_id = #{countMethodId}
delete from mall_count_method where count_method_id in
#{countMethodId}