select id, schemeid, schemecode, guid, patientid, serialnum, visitid, visittype, state, finshtime, sourcetype, patientsource, finshtype, finshdesc, basetime, orgid, relationid, del_flag, create_by, create_time, update_by, update_time, isupload, upload_time from scheme_plan insert into scheme_plan schemeid, schemecode, patientid, serialnum, visitid, visittype, state, finshtime, sourcetype, patientsource, finshtype, finshdesc, basetime, orgid, relationid, del_flag, create_by, create_time, update_by, update_time, isupload, upload_time, guid, #{schemeid}, #{schemecode}, #{patientid}, #{serialnum}, #{visitid}, #{visittype}, #{state}, #{finshtime}, #{sourcetype}, #{patientsource}, #{finshtype}, #{finshdesc}, #{basetime}, #{orgid}, #{relationid}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{isupload}, #{uploadTime}, #{guid}, update scheme_plan schemeid = #{schemeid}, schemecode = #{schemecode}, patientid = #{patientid}, serialnum = #{serialnum}, visitid = #{visitid}, visittype = #{visittype}, state = #{state}, finshtime = #{finshtime}, sourcetype = #{sourcetype}, patientsource = #{patientsource}, finshtype = #{finshtype}, finshdesc = #{finshdesc}, basetime = #{basetime}, orgid = #{orgid}, relationid = #{relationid}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, isupload = #{isupload}, upload_time = #{uploadTime}, guid = #{guid}, where id = #{id} delete from scheme_plan where id = #{id} delete from scheme_plan where id in #{id}