select id, cat_id, title, content, author, author_email, keywords, article_type, is_open, file_url, open_type, link, description, click_count, tenant_id, del_flag, create_by, create_time, update_by, update_time, remark, create_site, update_site from emis_article
insert into emis_article
id,
cat_id,
title,
content,
author,
author_email,
keywords,
article_type,
is_open,
file_url,
open_type,
link,
description,
click_count,
tenant_id,
del_flag,
create_by,
create_time,
update_by,
update_time,
remark,
create_site,
update_site,
#{id},
#{catId},
#{title},
#{content},
#{author},
#{authorEmail},
#{keywords},
#{articleType},
#{isOpen},
#{fileUrl},
#{openType},
#{link},
#{description},
#{clickCount},
#{tenantId},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
#{createSite},
#{updateSite},
update emis_article
cat_id = #{catId},
title = #{title},
content = #{content},
author = #{author},
author_email = #{authorEmail},
keywords = #{keywords},
article_type = #{articleType},
is_open = #{isOpen},
file_url = #{fileUrl},
open_type = #{openType},
link = #{link},
description = #{description},
click_count = #{clickCount},
tenant_id = #{tenantId},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
create_site = #{createSite},
update_site = #{updateSite},
where id = #{id}
delete from emis_article where id = #{id}
delete from emis_article where id in
#{id}