insert into tb_notice_receive( notice_id, building_id )values( #{noticeId}, #{buildingId} ) delete from tb_notice_receive where id = #{id} delete from tb_notice_receive where notice_id = #{noticeId} update tb_notice_receive set notice_id=#{noticeId}, building_id=#{buildingId} where id = #{id} update tb_notice_receive set notice_id = #{noticeId}, building_id = #{buildingId} where id = #{id} and id = #{id} and notice_id = #{noticeId} and building_id = #{buildingId}