select id, system_id, issuer_id, name, start_time, end_time,price, status, collections_number, collections_story, image, create_time, update_time, create_by, update_by, del_flag from post_collections insert into post_collections system_id, issuer_id, name, start_time, end_time, price, status, collections_number, collections_story, image, create_time, update_time, create_by, update_by, del_flag, #{systemId}, #{issuerId}, #{name}, #{startTime}, #{endTime}, #{price}, #{status}, #{collectionsNumber}, #{collectionsStory}, #{image}, #{createTime}, #{updateTime}, #{createBy}, #{updateBy}, #{delFlag}, update post_collections system_id = #{systemId}, issuer_id = #{issuerId}, name = #{name}, start_time = #{startTime}, end_time = #{endTime}, #{price}, status = #{status}, collections_number = #{collectionsNumber}, collections_story = #{collectionsStory}, image = #{image}, create_time = #{createTime}, update_time = #{updateTime}, create_by = #{createBy}, update_by = #{updateBy}, del_flag = #{delFlag}, where id = #{id} UPDATE post_collections SET del_flag = '1' WHERE del_flag = '0' AND (id = #{id}) UPDATE post_collections SET del_flag = '1' WHERE del_flag = '0' AND id in #{id} update post_collections set status = '4',update_time = #{updateTime}, update_by = #{updateBy} where system_id=#{systemId} and del_flag = '0'