09 2021 档案

摘要:引入依赖 <!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter --> <dependency> <groupId>com.baomidou</groupId> <artifactId>mybat 阅读全文
posted @ 2021-09-10 19:13 学习就是进步! 阅读(653) 评论(0) 推荐(0)
摘要:引入依赖 <!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox- 阅读全文
posted @ 2021-09-10 18:22 学习就是进步! 阅读(63) 评论(0) 推荐(0)
摘要:1、引入log4j2的依赖 <!-- 使用log4j2 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-log4j2</artifactId> </depende 阅读全文
posted @ 2021-09-10 18:06 学习就是进步! 阅读(839) 评论(0) 推荐(0)
摘要:1、首先要准备一个可以查询文件和分类的工具类 /** * 查询文件 * @param file 目标路径 * @param list 装查询的文件容器 * @throws IOException */ public static void queryAllFile(File file, List<M 阅读全文
posted @ 2021-09-02 17:01 学习就是进步! 阅读(470) 评论(0) 推荐(0)
摘要:logger.info(">>>>>>>>>>>>>>>>>>>>>>>>>读取txt开始"); File file = new File(filepath); try { if (file.isFile() && file.exists()) { InputStreamReader read = 阅读全文
posted @ 2021-09-02 12:35 学习就是进步! 阅读(469) 评论(0) 推荐(0)