摘要:
//线程池类,直接复制不用修改 import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springfram 阅读全文
摘要:
@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%% 阅读全文
摘要:
1、首先在实体类上加上注解 @Data public class UserInfo { @Field("user_name") @NotEmpty(message = "用户名不能为空") private String username; @NotEmpty(message = "用户密码不能为空" 阅读全文
摘要:
import com.Dao.MapReduceDao; import com.mongodb.BasicDBObject; import org.springframework.beans.factory.annotation.Autowired; import org.springframewo 阅读全文
摘要:
@RestController public class ReadAppController { //文件的名字 @Value("${app.name}") private String appName; @GetMapping("get/app") private void getAPP(Http 阅读全文
摘要:
重复定义 修改值 声明提升 块级作用域 循环 var √ √ √ ×(function除外) √ let × √ × √ √ const × ×(数组对象除外) × √ × 声明提升:var a = 1这句话会被浏览器读成 var a和a = 1两句话执行,其中var a会在编译阶段就先执行了,而a 阅读全文
摘要:
maven依赖: <!-- https://mvnrepository.com/artifact/com.belerweb/pinyin4j --> <dependency> <groupId>com.belerweb</groupId> <artifactId>pinyin4j</artifact 阅读全文
摘要:
Aggregation managerSum = Aggregation.newAggregation( Aggregation.group("_id").first("by_user").as("by_user").first("title").as("title") .count().as("j 阅读全文
摘要:
public static<T> ResultVO<T> success(T data){ ResultVO<T> resultVO = new ResultVO<>(); resultVO.setCode(ExceptionEnum.SUCCESS.getCode()); resultVO.set 阅读全文
摘要:
Aggregation managerSum = Aggregation.newAggregation( Aggregation.unwind("asset_manager_lease"), Aggregation.match(criteria), Aggregation.group("asset_ 阅读全文