select id, schemecategoryid, schemename, description, templateid, version, schemecode, centerlibraryid, patientsource, belongdeptid, ruledept, belongwardid, ruleward, repeathandle, expirehandle, autofinsh, baselinetime, triggerornot, isenable, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, state, open_by, open_time, centerlibrarycode, islocal, iscurrency from scheme_locallibrary insert into scheme_locallibrary schemecategoryid, schemename, description, templateid, version, schemecode, centerlibraryid, patientsource, belongdeptid, ruledept, belongwardid, ruleward, repeathandle, expirehandle, autofinsh, baselinetime, triggerornot, isenable, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, state, open_by, open_time, centerlibrarycode, islocal, iscurrency, guid, #{schemecategoryid}, #{schemename}, #{description}, #{templateid}, #{version}, #{schemecode}, #{centerlibraryid}, #{patientsource}, #{belongdeptid}, #{ruledept}, #{belongwardid}, #{ruleward}, #{repeathandle}, #{expirehandle}, #{autofinsh}, #{baselinetime}, #{triggerornot}, #{isenable}, #{orgid}, #{delFlag}, #{updateBy}, #{updateTime}, #{createBy}, #{createTime}, #{isupload}, #{uploadTime}, #{state}, #{openBy}, #{openTime}, #{centerlibrarycode}, #{islocal}, #{iscurrency}, #{guid}, update scheme_locallibrary schemecategoryid = #{schemecategoryid}, schemename = #{schemename}, description = #{description}, templateid = #{templateid}, version = #{version}, schemecode = #{schemecode}, centerlibraryid = #{centerlibraryid}, patientsource = #{patientsource}, belongdeptid = #{belongdeptid}, ruledept = #{ruledept}, belongwardid = #{belongwardid}, ruleward = #{ruleward}, repeathandle = #{repeathandle}, expirehandle = #{expirehandle}, autofinsh = #{autofinsh}, baselinetime = #{baselinetime}, triggerornot = #{triggerornot}, isenable = #{isenable}, orgid = #{orgid}, del_flag = #{delFlag}, update_by = #{updateBy}, update_time = #{updateTime}, create_by = #{createBy}, create_time = #{createTime}, isupload = #{isupload}, upload_time = #{uploadTime}, state = #{state}, open_by = #{openBy}, open_time = #{openTime}, centerlibrarycode = #{centerlibrarycode}, islocal = #{islocal}, iscurrency = #{iscurrency}, guid = #{guid}, where id = #{id} delete from scheme_locallibrary where id = #{id} delete from scheme_locallibrary where id in #{id}