select id, create_time, update_time, flag, title, title_content, activity_img, activity_url, state, amount, superior_amount, activity_number, category, type, mark from activity_config
insert into activity_config
create_time,
update_time,
flag,
title,
title_content,
activity_img,
activity_url,
state,
amount,
superior_amount,
activity_number,
category,
type,
mark,
#{createTime},
#{updateTime},
#{flag},
#{title},
#{titleContent},
#{activityImg},
#{activityUrl},
#{state},
#{amount},
#{superiorAmount},
#{activityNumber},
#{category},
#{type},
#{mark},
update activity_config
create_time = #{createTime},
update_time = #{updateTime},
flag = #{flag},
title = #{title},
title_content = #{titleContent},
activity_img = #{activityImg},
activity_url = #{activityUrl},
state = #{state},
amount = #{amount},
superior_amount = #{superiorAmount},
activity_number = #{activityNumber},
category = #{category},
type = #{type},
mark = #{mark},
where id = #{id}
delete from activity_config where id in
#{id}