select id,
classification,
hetype,
html_rich_text,
assortid,
preachname,
version,
preachform,
preachdescription,
preachcontent,
templateid,
preachcode,
centerlibraryid,
isenable,
orgid,
update_by,
update_time,
del_flag,
create_by,
create_time,
isupload,
upload_time,
islocal,
centerlibrarycode,
pid,
guid,
parameter,
isavailable,
suitdisease,
suitway,
dept_names,
label_info,
campus,
otherdata,
rich_text
from he_library
insert into he_library
classification,
assortid,
preachname,
version,
preachform,
preachdescription,
preachcontent,
templateid,
preachcode,
centerlibraryid,
isenable,
orgid,
update_by,
update_time,
del_flag,
create_by,
create_time,
isupload,
upload_time,
islocal,
centerlibrarycode,
pid,
guid,
parameter,
isavailable,
suitdisease,
suitway,
dept_names,
label_info,
campus,
otherdata,
rich_text,
hetype,
html_rich_text,
#{classification},
#{assortid},
#{preachname},
#{version},
#{preachform},
#{preachdescription},
#{preachcontent},
#{templateid},
#{preachcode},
#{centerlibraryid},
#{isenable},
#{orgid},
#{updateBy},
#{updateTime},
#{delFlag},
#{createBy},
#{createTime},
#{isupload},
#{uploadTime},
#{islocal},
#{centerlibrarycode},
#{pid},
#{guid},
#{parameter},
#{isavailable},
#{suitdisease},
#{suitway},
#{deptNames},
#{labelInfo},
#{campus},
#{otherdata},
#{richText},
#{hetype},
#{htmlRichText},
update he_library
classification = #{classification},
assortid = #{assortid},
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},
islocal = #{islocal},
centerlibrarycode = #{centerlibrarycode},
pid = #{pid},
guid = #{guid},
parameter = #{parameter},
isavailable = #{isavailable},
suitdisease = #{suitdisease},
suitway = #{suitway},
dept_names = #{deptNames},
label_info = #{labelInfo},
campus = #{campus},
otherdata = #{otherdata},
rich_text = #{richText},
hetype = #{hetype},
html_rich_text = #{htmlRichText},
where id = #{id}
update he_library
del_flag =1,
where id = #{id}
delete from he_library where id in
#{id}