INSERT INTO message_notify(id, user_id, title, content, msg_type, relate_id, is_read, create_time) VALUES(#{id}, #{userId}, #{title}, #{content}, #{msgType}, #{relateId}, 0, NOW()) UPDATE message_notify SET is_read = 1 WHERE id = #{id}