摘要: 实现RequestMapping("/test")可以跟/test匹配,也可以跟/test.json /test.aa ...... spring boot 1.x 是支持这种匹配的,但是项目升级 spring boot 2.x不支持后缀匹配了 修改: 代码中加过滤器,开启后缀匹配 实现: impo 阅读全文
posted @ 2021-08-18 13:41 FY丶 阅读(374) 评论(0) 推荐(0)
摘要: executeBatch(this.commonManagementMapper, "addStatisticsByBatch", insertlist); /** * 分次批量入库 * * @param mapper * @param mapperMethodName * @param list 阅读全文
posted @ 2021-08-12 15:22 FY丶 阅读(40) 评论(0) 推荐(0)
摘要: Mapper文件中参数出现了dataTime,但是实体类UserDto中却没有dataTime,两边无法映射导致报错。 阅读全文
posted @ 2021-08-10 11:15 FY丶 阅读(34) 评论(0) 推荐(0)
摘要: if (!startAds.stream().filter(w->String.valueOf(w.getId()).equals(startAdvertisingBean.getId())).findAny().isPresent()){ //说明不存在 if (startAds.getTotal 阅读全文
posted @ 2021-08-06 14:18 FY丶 阅读(4410) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/friday69/p/9389720.html 阅读全文
posted @ 2021-08-05 17:18 FY丶 阅读(24) 评论(0) 推荐(0)
摘要: SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/C:/Inkstone/maven/repository/org/slf4j/slf4j-log4j12/1.7.30/slf4 阅读全文
posted @ 2021-08-04 10:55 FY丶 阅读(353) 评论(0) 推荐(0)
摘要: postman配置代理 eclipse配置代理:网上有 但是配了没好使 直接把代理写在java代码里用于测试 System.getProperties().setProperty("proxySet", "true"); System.getProperties().setProperty("pro 阅读全文
posted @ 2021-08-04 10:41 FY丶 阅读(125) 评论(0) 推荐(0)
摘要: 各个城市的代码编号(全): 北京:101010100朝阳:101010300顺义:101010400怀柔:101010500通州:101010600昌平:101010700延庆:101010800丰台:101010900石景山:101011000大兴:101011100房山:101011200密云: 阅读全文
posted @ 2021-08-03 20:36 FY丶 阅读(3837) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qing_gee/article/details/80097901 阅读全文
posted @ 2021-07-29 11:41 FY丶 阅读(423) 评论(0) 推荐(0)
摘要: public TaskScheduler taskScheduler() { ThreadPoolTaskScheduler taskScheduler = new ThreadPoolTaskScheduler(); taskScheduler.setPoolSize(50); return ta 阅读全文
posted @ 2021-07-19 10:06 FY丶 阅读(742) 评论(0) 推荐(0)