随笔分类 -  java

摘要://分析文件,结果为[[第一行的数据],[第二行的数据],.....] public static List<List<String>> analysisSheet(String filePath, int currentSheet) { Workbook wb = null; Sheet shee 阅读全文
posted @ 2021-12-13 17:52 力王7314 阅读(1161) 评论(0) 推荐(0) 编辑
摘要:<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.spri 阅读全文
posted @ 2021-11-17 13:03 力王7314 阅读(47) 评论(0) 推荐(0) 编辑
摘要:package com.alibaba.yuntu.me.biz.district.service.impl.MyUtis; import com.alibaba.fastjson.JSONObject; import com.alibaba.yuntu.me.common.base.util.Ht 阅读全文
posted @ 2021-11-15 17:12 力王7314 阅读(112) 评论(0) 推荐(0) 编辑
摘要:controller内容如下 UserController package com.fengzi.controller; import com.fengzi.service.UserService; import org.springframework.beans.factory.annotatio 阅读全文
posted @ 2021-10-30 23:02 力王7314 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-10-22 16:21 力王7314 阅读(141) 评论(0) 推荐(0) 编辑
摘要:RedisConfig配置内容如下: package com.example.demo5.config; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.ann 阅读全文
posted @ 2021-10-20 10:07 力王7314 阅读(3310) 评论(0) 推荐(0) 编辑
摘要:import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation. 阅读全文
posted @ 2021-10-19 14:47 力王7314 阅读(44) 评论(0) 推荐(0) 编辑
摘要:json字符串内容为: { "xiaowang": [{ "age": "21", "weight": "120" }], "xiaomei": [{ "age": "24", "weight": "135" }], "xiaohong": [{ "age": "22", "weight": "10 阅读全文
posted @ 2021-10-11 15:02 力王7314 阅读(272) 评论(0) 推荐(0) 编辑
摘要:第一步,引入pom.xml文件 <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.12</version> </dependency> <dependency> <groupId>org 阅读全文
posted @ 2021-10-09 17:38 力王7314 阅读(105) 评论(0) 推荐(0) 编辑
摘要:String result = ""; String location = ""; BufferedReader in = null; try { String url3 = "https://xxx.xxx.com/v3/geocode/geo?key=xxxxxxxxxx"; String pa 阅读全文
posted @ 2021-10-09 10:10 力王7314 阅读(1734) 评论(0) 推荐(0) 编辑
摘要:mybatis编写顺序和内容 第一步,新建maven项目 省略...... 第二步,下载pom依赖,添加内容如下: 注意,如过想用lombok插件,光导入pom还不行,还需要再idea中下载plugin插件 <dependencies> <dependency> <groupId>org.mybat 阅读全文
posted @ 2021-10-08 15:36 力王7314 阅读(40) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示