MongoDB的update方法

Update update = Update.update("isLike", likeOrNot)
                      .set("updated", System.currentTimeMillis());
mongoTemplate.updateFirst(query, update, UserLike.class);