select notice_id, notice_title, notice_type, notice_content, status, create_by, create_time, update_by, update_time, remark
from sys_notice
insert into sys_notice (
notice_title,
notice_type,
notice_content,
status,
remark,
create_by,
create_time
)values(
#{noticeTitle},
#{noticeType},
#{noticeContent},
#{status},
#{remark},
#{createBy},
sysdate()
)
update sys_notice
notice_title = #{noticeTitle},
notice_type = #{noticeType},
notice_content = #{noticeContent},
status = #{status},
update_by = #{updateBy},
update_time = sysdate()
where notice_id = #{noticeId}
delete from sys_notice where notice_id = #{noticeId}
delete from sys_notice where notice_id in
#{noticeId}