select id, preachcategoryid, guid, preachname, version, preachform, preachdescription, preachcontent, templateid, preachcode, centerlibraryid, isenable, orgid, update_by, update_time, del_flag, create_by, create_time, isupload, upload_time, classification, islocal, watch_count, centerlibrarycode from he_library insert into he_locallibrary preachcategoryid, preachname, version, preachform, preachdescription, preachcontent, templateid, preachcode, centerlibraryid, isenable, orgid, update_by, update_time, del_flag, create_by, create_time, isupload, upload_time, classification, islocal, centerlibrarycode, guid, #{preachcategoryid}, #{preachname}, #{version}, #{preachform}, #{preachdescription}, #{preachcontent}, #{templateid}, #{preachcode}, #{centerlibraryid}, #{isenable}, #{orgid}, #{updateBy}, #{updateTime}, #{delFlag}, #{createBy}, #{createTime}, #{isupload}, #{uploadTime}, #{classification}, #{islocal}, #{centerlibrarycode}, #{guid}, update he_locallibrary preachcategoryid = #{preachcategoryid}, preachname = #{preachname}, version = #{version}, preachform = #{preachform}, preachdescription = #{preachdescription}, preachcontent = #{preachcontent}, templateid = #{templateid}, preachcode = #{preachcode}, centerlibraryid = #{centerlibraryid}, isenable = #{isenable}, orgid = #{orgid}, update_by = #{updateBy}, update_time = #{updateTime}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, isupload = #{isupload}, upload_time = #{uploadTime}, classification = #{classification}, islocal = #{islocal}, centerlibrarycode = #{centerlibrarycode}, guid = #{guid}, where id = #{id} delete from he_locallibrary where id = #{id} delete from he_locallibrary where id in #{id}