select id, svrtaskid, patientid, classification, preachcategoryid, preachname, version, preachform, orgform, preachdescription, preachcontent, templateid, preachcode, centerlibraryid, isenable, orgid, update_by, update_time, del_flag, create_by, create_time, isupload, upload_time, islocal, centerlibrarycode, pid, guid, send_time, is_send, send_state, rich_text, text_param from he_task insert into he_task svrtaskid, patientid, classification, preachcategoryid, preachname, version, preachform, orgform, preachdescription, preachcontent, templateid, preachcode, centerlibraryid, isenable, orgid, update_by, update_time, del_flag, create_by, create_time, isupload, upload_time, islocal, centerlibrarycode, pid, guid, send_time, is_send, send_state, rich_text, text_param #{svrtaskid}, #{patientid}, #{classification}, #{preachcategoryid}, #{preachname}, #{version}, #{preachform}, #{orgform}, #{preachdescription}, #{preachcontent}, #{templateid}, #{preachcode}, #{centerlibraryid}, #{isenable}, #{orgid}, #{updateBy}, #{updateTime}, #{delFlag}, #{createBy}, #{createTime}, #{isupload}, #{uploadTime}, #{islocal}, #{centerlibrarycode}, #{pid}, #{guid}, #{sendTime}, #{isSend}, #{sendState}, #{richText}, #{textParam}, update he_task svrtaskid = #{svrtaskid}, patientid = #{patientid}, classification = #{classification}, preachcategoryid = #{preachcategoryid}, preachname = #{preachname}, version = #{version}, preachform = #{preachform}, orgform = #{orgform}, 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}, islocal = #{islocal}, centerlibrarycode = #{centerlibrarycode}, pid = #{pid}, guid = #{guid}, send_time = #{sendTime}, is_send = #{isSend}, send_state = #{sendState}, rich_text = #{richText}, text_param = #{textParam}, where id = #{id} update he_task del_flag = 1 where id = #{id}