INSERT INTO article (
id,
type_id,
article_author,
title,
is_publish,
article_abstract,
content,
image,
sort,
createtiem,
url,
like_number,
classify,
company_id
)
VALUES (
#{id},
#{typeId},
#{articleAuthor},
#{title},
#{isPublish},
#{articleAbstract},
#{content},
#{image},
#{sort},
#{createtiem},
#{url},
#{likeNumber},
#{classify},
#{companyId}
)
UPDATE article
type_id = #{typeId},
article_author = #{articleAuthor},
title = #{title},
is_publish = #{isPublish},
article_abstract = #{articleAbstract},
content = #{content},
image = #{image},
sort = #{sort},
createtiem = #{createtiem},
url = #{url},
like_number = #{likeNumber},
classify = #{classify},
WHERE id=#{id}
delete from article where id in
#{item}
DELETE FROM article
where id=#{id}