上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 61 下一页
  2023年8月18日
摘要: 1. java.lang.IllegalArgumentException: The object key "/image-业务名称/20230818/20230818-订单号参数-accident.jpg" is invalid. An object name should be between 阅读全文
posted @ 2023-08-18 18:54 oktokeep 阅读(270) 评论(0) 推荐(0)
  2023年8月15日
摘要: 打印搜索条件:log.info(searchSourceBuilder.toString());log.info("es搜索条件:[{}]", searchSourceBuilder); 阅读全文
posted @ 2023-08-15 10:26 oktokeep 阅读(93) 评论(1) 推荐(0)
  2023年8月14日
摘要: redis查询 第1个数据库,而不是默认的第0个数据库 spring.redis.database = 1 默认: spring.redis.database = 0 car-test:0>get car:info:detail:id001 NULL ##切换数据库 car-test:0>selec 阅读全文
posted @ 2023-08-14 19:09 oktokeep 阅读(126) 评论(1) 推荐(0)
摘要: mybatis insert foreach批量添加 int insertSelectiveBatch(List<ImageDetailEntity> myList); //写法1 <insert id="insertSelectiveBatch"> <foreach item="record" c 阅读全文
posted @ 2023-08-14 19:06 oktokeep 阅读(477) 评论(0) 推荐(0)
摘要: 引入feign注入报错 org.springframework.beans.factory.NoSuchBeanDefinitionException解决 [172.16.22.215] out: Caused by: org.springframework.beans.factory.NoSuch 阅读全文
posted @ 2023-08-14 19:05 oktokeep 阅读(220) 评论(0) 推荐(0)
摘要: 高德解析城市的分析,根据高德的经纬度获取城市cityCode http://restapi.amap.com/v3/geocode/regeo?output=json&location=110.517039,18.817948&key=替换成自己的高德KEY&extensions=base 1.高德 阅读全文
posted @ 2023-08-14 19:04 oktokeep 阅读(1558) 评论(0) 推荐(0)
摘要: json字符串转换对象或列表,多了字段不会报错 //DEMO1 转换对象 应用 riskId public class Item { private String id; private String rate; public Item(String id, String rate) { this. 阅读全文
posted @ 2023-08-14 19:03 oktokeep 阅读(420) 评论(0) 推荐(0)
摘要: LocalDateTime与LocalDate之间转换 //LocalDateTime转换LocalDate LocalDateTime now2 = LocalDateTime.now(); LocalDate ld2 = now2.toLocalDate(); System.out.printl 阅读全文
posted @ 2023-08-14 19:00 oktokeep 阅读(1894) 评论(0) 推荐(0)
  2023年7月1日
摘要: mysql 联合表查询从表即使有索引依然ALL的一个原因-索引ALL解决,字符编码方式不一致导致全表搜索那就是主表和从表的关联字段的编码方式不一样!!! mysql索引失效,是因为charset不一致导致 mysql索引 适用 字符类型一致 产生的现象: 解决之后,正确的使用了t2.order_no 阅读全文
posted @ 2023-07-01 11:17 oktokeep 阅读(568) 评论(3) 推荐(0)
  2023年6月30日
摘要: 接口签名规则和Java实现签名和验签代码 签名规则 签名生成的通用步骤如下: 第一步,设所有发送或者接收到的数据为集合M,将集合M内非空参数值的参数按照参数名ASCII码从小到大排序(字典序),使用URL键值对的格式(即key1=value1&key2=value2…)拼接成字符串stringA。 阅读全文
posted @ 2023-06-30 18:50 oktokeep 阅读(1964) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 61 下一页