- 博客(3)
- 收藏
- 关注
原创 The bean ‘uc-service.FeignClientSpecification‘ could not be registered. A bean with that name has al
The bean ‘uc-service.FeignClientSpecification’ could not be registered. A bean with that name has already been defined and overriding is disabled.**报错信息:Error starting ApplicationContext. To display the conditions report re-run your application with 'deb
2021-03-19 17:09:11 1121 1
原创 Java中生成随机数字和大写字母的方法
/*** 生成随机数字和大写字母** @return*/public static String generate() {char[] letters = {‘A’, ‘B’, ‘C’, ‘D’, ‘E’, ‘F’, ‘G’, ‘H’, ‘I’, ‘J’,‘K’, ‘L’, ‘M’, ‘N’, ‘O’, ‘P’, ‘Q’, ‘R’, ‘S’, ‘T’, ‘U’, ‘V’,‘W’, ‘X’, ‘Y’, ‘Z’, ‘0’, ‘1’, ‘2’, ‘3’, ‘4’, ‘5’, ‘6’, ‘7’, ‘
2020-07-29 18:16:16 1159
原创 你知道索引失效嘛?举例看看?
索引失效,可以从一下几种原因中分析:1.在where条件的等号左侧中使用函数where date(create_at) = ‘2019-01-01’带有列的函数计算值,导致索引无法使用。2.表关联字符集格式以及排序方式不一致关注CHARSET和COLLATIONSQL写法错误导致的索引失效比较常见的例子是,我们存储手机号的字段格式为varchar,但是SQL却写的where phone=123;3.统计信息不准确在查询中使用 !=、not in、not exists等4.MySQL支持前缀
2020-07-29 18:05:42 366
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人