select note_id, user_id, title, description, menu_id, background, note_count, note_sort, is_state, read_progress, is_star, is_delete, top_flag, is_share, is_encryption, create_time, update_time,tiymce_ueditor from nm_note
insert into nm_note
note_id,
user_id,
title,
description,
menu_id,
background,
note_count,
note_sort,
is_state,
read_progress,
is_star,
is_delete,
top_flag,
is_share,
is_encryption,
create_time,
update_time,
tiymce_ueditor,
#{noteId},
#{userId},
#{title},
#{description},
#{menuId},
#{background},
#{noteCount},
#{noteSort},
#{isState},
#{readProgress},
#{isStar},
#{isDelete},
#{topFlag},
#{isShare},
#{isEncryption},
#{createTime},
#{updateTime},
#{tiymceUeditor},
update nm_note
user_id = #{userId},
title = #{title},
description = #{description},
menu_id = #{menuId},
background = #{background},
note_count = #{noteCount},
note_sort = #{noteSort},
is_state = #{isState},
read_progress = #{readProgress},
is_star = #{isStar},
is_delete = #{isDelete},
top_flag = #{topFlag},
is_share = #{isShare},
is_encryption = #{isEncryption},
create_time = #{createTime},
update_time = #{updateTime},
tiymce_ueditor = #{tiymceUeditor},
where note_id = #{noteId}
delete from nm_note where note_id = #{noteId}
delete from nm_note where note_id in
#{noteId}