id, title, content, url, notice_status, createtime
delete from ln_notice
where id = #{id,jdbcType=INTEGER}
insert into ln_notice (title, content, url,
notice_status, createtime)
values (#{title,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR},
#{noticeStatus,jdbcType=TINYINT}, #{createtime,jdbcType=TIMESTAMP})
insert into ln_notice
title,
content,
url,
notice_status,
createtime,
#{title,jdbcType=VARCHAR},
#{content,jdbcType=VARCHAR},
#{url,jdbcType=VARCHAR},
#{noticeStatus,jdbcType=TINYINT},
#{createtime,jdbcType=TIMESTAMP},
update ln_notice
title = #{title,jdbcType=VARCHAR},
content = #{content,jdbcType=VARCHAR},
url = #{url,jdbcType=VARCHAR},
notice_status = #{noticeStatus,jdbcType=TINYINT},
createtime = #{createtime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update ln_notice
set title = #{title,jdbcType=VARCHAR},
content = #{content,jdbcType=VARCHAR},
url = #{url,jdbcType=VARCHAR},
notice_status = #{noticeStatus,jdbcType=TINYINT},
createtime = #{createtime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}