id,name,content,addTime
#{id},#{name},#{content},#{addTime}
name = #{name},
content = #{content},
addTime = #{addTime}
and id = #{id}
and name = #{name}
and content = #{content}
and addTime = #{addTime}
insert into news(
) values(
)
delete from news where id=#{id}
delete from news where 1=1
delete from news where 1=1
update news
where 1=1
update news
where id=#{id}
update news
name = #{item.name},
content = #{item.content},
addTime = #{item.addTime}
where 1=1
and id = #{item.id}
${sql}
${sql}