- 博客(4)
- 收藏
- 关注
原创 oracle查询字段中被除数为0的解决方案
-- 解决被除数为0的方法 一 :case when b then null else a/b end例:select case when b=0 then null else a/b end from test当b=0时,当前字段返回null,否则返回 a/b 的值-- 解决被除数为0的方法 二 :decode(b,0,null,a/b)例:select decode(b,0,null,a/b) from test当b=0时,当前字段返回null,否则返回 a/b 的值...
2022-06-22 16:50:44
3499
原创 Springboot 2.6.2整合swagger2报错问题
我们经常使用这个swagger2来测试接口,swagger2可以快速的编写API接口文档,但是使用这个swagger2的时候,与springboot整合时,有可能会出现问题。我就遇上了这样一个问题,我使用的是Spring Boot Starter Swagger的依赖: <!-- https://mvnrepository.com/artifact/com.spring4all/swagger-spring-boot-starter --> <dependency&
2022-04-04 19:26:52
1397
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人