select id, type, title, content, image, link, sort, status, created_at, updated_at, deleted_at from content
insert into content
type,
title,
content,
image,
link,
sort,
status,
deleted_at,
created_at,
updated_at
#{type},
#{title},
#{content},
#{image},
#{link},
#{sort},
#{status},
#{deletedAt},
NOW(),
NOW()
update content
type = #{type},
title = #{title},
content = #{content},
image = #{image},
link = #{link},
sort = #{sort},
status = #{status},
created_at = #{createdAt},
updated_at = NOW(),
deleted_at = #{deletedAt},
where id = #{id}
delete from content where id = #{id}
delete from content where id in
#{id}