select BULLETIN_ID, TITLE, CONTENT, CREATE_TIME, READ_NUM, SEND_TIME, CREATE_USER_ID, UPDATE_USER_ID, UPDATE_TIME, REMARK, STS from t_bulletin_info
insert into t_bulletin_info
BULLETIN_ID,
TITLE,
CONTENT,
CREATE_TIME,
READ_NUM,
SEND_TIME,
CREATE_USER_ID,
UPDATE_USER_ID,
UPDATE_TIME,
REMARK,
STS,
#{bulletinId},
#{title},
#{content},
#{createTime},
#{readNum},
#{sendTime},
#{createUserId},
#{updateUserId},
#{updateTime},
#{remark},
#{sts},
update t_bulletin_info
TITLE = #{title},
CONTENT = #{content},
CREATE_TIME = #{createTime},
READ_NUM = #{readNum},
SEND_TIME = #{sendTime},
CREATE_USER_ID = #{createUserId},
UPDATE_USER_ID = #{updateUserId},
UPDATE_TIME = #{updateTime},
REMARK = #{remark},
STS = #{sts},
where BULLETIN_ID = #{bulletinId}
delete from t_bulletin_info where BULLETIN_ID = #{bulletinId}
delete from t_bulletin_info where BULLETIN_ID in
#{bulletinId}
delete from t_bulletin_recive where BULLETIN_ID in
#{bulletinId}
delete from t_bulletin_recive where BULLETIN_ID = #{bulletinId}
insert into t_bulletin_recive( RECIVE_ID, RECIVE_USER_ID, READ_TIME, READ_NUM, CREATE_TIME, CREATE_USER_ID, UPDATE_USER_ID, UPDATE_TIME, REMARK, BULLETIN_ID, STS) values
( #{item.reciveId}, #{item.reciveUserId}, #{item.readTime}, #{item.readNum}, #{item.createTime}, #{item.createUserId}, #{item.updateUserId}, #{item.updateTime}, #{item.remark}, #{item.bulletinId}, #{item.sts})