博主首页
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 47 下一页
摘要: mybatis非数据字段注解@TableField(exist=false)注解 不是数据库字段 阅读全文
posted @ 2023-06-08 10:12 笑~笑 阅读(227) 评论(0) 推荐(0)
摘要: security的登录接口是根据 value = "/oauth/token"全局即可搜索到,需要将依赖包和源码下载下来 主要的实现认证逻辑,实现这个接口 这个方法 阅读全文
posted @ 2023-06-05 16:28 笑~笑 阅读(58) 评论(0) 推荐(0)
摘要: 要么配置了多个java环境变量,要么就是没有配置java环境变量、配置完环境变量需要重启电脑 阅读全文
posted @ 2023-06-05 14:37 笑~笑 阅读(207) 评论(0) 推荐(0)
摘要: 去掉了lombok版本号,那么SpringBoot2.5.4版本默认使用的是lombok的1.18.20。然后执行代码,一切正常,问题解决了。 阅读全文
posted @ 2023-06-05 13:56 笑~笑 阅读(184) 评论(0) 推荐(0)
摘要: @Bean public Jackson2ObjectMapperBuilderCustomizer jackson2ObjectMapperBuilderCustomizer() { Map<Class<?>, JsonSerializer<?>> map = new HashMap<>(); m 阅读全文
posted @ 2023-05-23 17:41 笑~笑 阅读(71) 评论(0) 推荐(0)
摘要: Annotation-specified bean name 'datahubServiceImpl' for bean class [com.peony.common.service.impl.DatahubServiceImpl] conflicts with existing, non-com 阅读全文
posted @ 2023-05-22 18:01 笑~笑 阅读(1916) 评论(0) 推荐(0)
摘要: redis内存在数据类型与你取数据的类型不匹配 ,比如你存的数据是键值对字符串 ,然后你使用list类型的方法去获取数据 阅读全文
posted @ 2023-05-22 10:03 笑~笑 阅读(319) 评论(0) 推荐(0)
摘要: public static void main(String[] args) { String a="0.3330000"; BigDecimal bigDecimal = new BigDecimal(a); String s = bigDecimal.stripTrailingZeros().t 阅读全文
posted @ 2023-04-28 10:40 笑~笑 阅读(75) 评论(0) 推荐(0)
摘要: file.transferTo(fileThu.getAbsoluteFile()); 采用绝对路径即可 阅读全文
posted @ 2023-04-26 18:05 笑~笑 阅读(291) 评论(0) 推荐(0)
摘要: 上传文件 private final AliyunOssProperties aliyunOssProperties; private final ClientBuilderConfiguration config; public static OSS getOssClient(AliyunOssP 阅读全文
posted @ 2023-04-26 16:22 笑~笑 阅读(40) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 47 下一页