上一页 1 2 3 4 5 6 7 8 9 ··· 14 下一页
摘要: //线程池类,直接复制不用修改 import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springfram 阅读全文
posted @ 2020-08-21 17:53 帖子搬运工 阅读(191) 评论(0) 推荐(0) 编辑
摘要: @echo off set PG_BIN_DIR=D:\aa\mongodb\bin\ rem 备份文件保存的路径 set BACK_UP_DIR=D:\aa\mongodbDataBackups\ set BAK_FILE_NAME=yapi_bak_%date:~0,4%%date:~5,2%% 阅读全文
posted @ 2020-08-17 15:33 帖子搬运工 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 1、首先在实体类上加上注解 @Data public class UserInfo { @Field("user_name") @NotEmpty(message = "用户名不能为空") private String username; @NotEmpty(message = "用户密码不能为空" 阅读全文
posted @ 2020-08-03 14:42 帖子搬运工 阅读(6953) 评论(0) 推荐(0) 编辑
摘要: import com.Dao.MapReduceDao; import com.mongodb.BasicDBObject; import org.springframework.beans.factory.annotation.Autowired; import org.springframewo 阅读全文
posted @ 2020-07-31 14:37 帖子搬运工 阅读(725) 评论(0) 推荐(0) 编辑
摘要: @RestController public class ReadAppController { //文件的名字 @Value("${app.name}") private String appName; @GetMapping("get/app") private void getAPP(Http 阅读全文
posted @ 2020-07-30 16:02 帖子搬运工 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 重复定义 修改值 声明提升 块级作用域 循环 var √ √ √ ×(function除外) √ let × √ × √ √ const × ×(数组对象除外) × √ × 声明提升:var a = 1这句话会被浏览器读成 var a和a = 1两句话执行,其中var a会在编译阶段就先执行了,而a 阅读全文
posted @ 2020-07-29 16:17 帖子搬运工 阅读(118) 评论(0) 推荐(0) 编辑
摘要: maven依赖: <!-- https://mvnrepository.com/artifact/com.belerweb/pinyin4j --> <dependency> <groupId>com.belerweb</groupId> <artifactId>pinyin4j</artifact 阅读全文
posted @ 2020-07-20 09:06 帖子搬运工 阅读(766) 评论(0) 推荐(0) 编辑
摘要: Aggregation managerSum = Aggregation.newAggregation( Aggregation.group("_id").first("by_user").as("by_user").first("title").as("title") .count().as("j 阅读全文
posted @ 2020-07-15 16:27 帖子搬运工 阅读(2149) 评论(0) 推荐(0) 编辑
摘要: public static<T> ResultVO<T> success(T data){ ResultVO<T> resultVO = new ResultVO<>(); resultVO.setCode(ExceptionEnum.SUCCESS.getCode()); resultVO.set 阅读全文
posted @ 2020-07-15 14:27 帖子搬运工 阅读(221) 评论(0) 推荐(0) 编辑
摘要: Aggregation managerSum = Aggregation.newAggregation( Aggregation.unwind("asset_manager_lease"), Aggregation.match(criteria), Aggregation.group("asset_ 阅读全文
posted @ 2020-07-15 09:51 帖子搬运工 阅读(2718) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 14 下一页