select id, user_id, content, video_url, topic_id, address, privacy_status, remark, create_time, update_time, create_by, updateBy,is_top ,city_id , province_id , town_id from app_user_dynamic
insert into app_user_dynamic
user_id,
content,
video_url,
topic_id,
address,
privacy_status,
remark,
create_time,
update_time,
create_by,
updateBy,
is_top,
city_id,
province_id,
town_id,
#{userId},
#{content},
#{videoUrl},
#{topicId},
#{address},
#{privacyStatus},
#{remark},
#{createTime},
#{updateTime},
#{createBy},
#{updateBy},
#{isTop},
#{cityId},
#{provinceId},
#{townId},
update app_user_dynamic
user_id = #{userId},
content = #{content},
video_url = #{videoUrl},
topic_id = #{topicId},
address = #{address},
privacy_status = #{privacyStatus},
remark = #{remark},
create_time = #{createTime},
update_time = #{updateTime},
create_by = #{createBy},
updateBy = #{updateBy},
is_top = #{isTop},
where id = #{id}
delete from app_user_dynamic where id = #{id}
delete from app_user_dynamic where id in
#{id}