notice_id, sys_id, notice_type_flag, notice_type_name, notice_title, notice_content,
notice_send, notice_date, notice_receive, effective, read_flag, parent_id, remark
delete from power_notice
where notice_id = #{noticeId,jdbcType=INTEGER}
insert into power_notice (notice_id, sys_id, notice_type_flag,
notice_type_name, notice_title, notice_content,
notice_send, notice_date, notice_receive,
effective, read_flag, parent_id,
remark)
values (#{noticeId,jdbcType=INTEGER}, #{sysId,jdbcType=INTEGER}, #{noticeTypeFlag,jdbcType=VARCHAR},
#{noticeTypeName,jdbcType=VARCHAR}, #{noticeTitle,jdbcType=VARCHAR}, #{noticeContent,jdbcType=VARCHAR},
#{noticeSend,jdbcType=VARCHAR}, #{noticeDate,jdbcType=CHAR}, #{noticeReceive,jdbcType=VARCHAR},
#{effective,jdbcType=INTEGER}, #{readFlag,jdbcType=INTEGER}, #{parentId,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR})
insert into power_notice
notice_id,
sys_id,
notice_type_flag,
notice_type_name,
notice_title,
notice_content,
notice_send,
notice_date,
notice_receive,
effective,
read_flag,
parent_id,
remark,
#{noticeId,jdbcType=INTEGER},
#{sysId,jdbcType=INTEGER},
#{noticeTypeFlag,jdbcType=VARCHAR},
#{noticeTypeName,jdbcType=VARCHAR},
#{noticeTitle,jdbcType=VARCHAR},
#{noticeContent,jdbcType=VARCHAR},
#{noticeSend,jdbcType=VARCHAR},
#{noticeDate,jdbcType=CHAR},
#{noticeReceive,jdbcType=VARCHAR},
#{effective,jdbcType=INTEGER},
#{readFlag,jdbcType=INTEGER},
#{parentId,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR},
update power_notice
sys_id = #{sysId,jdbcType=INTEGER},
notice_type_flag = #{noticeTypeFlag,jdbcType=VARCHAR},
notice_type_name = #{noticeTypeName,jdbcType=VARCHAR},
notice_title = #{noticeTitle,jdbcType=VARCHAR},
notice_content = #{noticeContent,jdbcType=VARCHAR},
notice_send = #{noticeSend,jdbcType=VARCHAR},
notice_date = #{noticeDate,jdbcType=CHAR},
notice_receive = #{noticeReceive,jdbcType=VARCHAR},
effective = #{effective,jdbcType=INTEGER},
read_flag = #{readFlag,jdbcType=INTEGER},
parent_id = #{parentId,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
where notice_id = #{noticeId,jdbcType=INTEGER}
update power_notice
set sys_id = #{sysId,jdbcType=INTEGER},
notice_type_flag = #{noticeTypeFlag,jdbcType=VARCHAR},
notice_type_name = #{noticeTypeName,jdbcType=VARCHAR},
notice_title = #{noticeTitle,jdbcType=VARCHAR},
notice_content = #{noticeContent,jdbcType=VARCHAR},
notice_send = #{noticeSend,jdbcType=VARCHAR},
notice_date = #{noticeDate,jdbcType=CHAR},
notice_receive = #{noticeReceive,jdbcType=VARCHAR},
effective = #{effective,jdbcType=INTEGER},
read_flag = #{readFlag,jdbcType=INTEGER},
parent_id = #{parentId,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR}
where notice_id = #{noticeId,jdbcType=INTEGER}