- 博客(4)
- 资源 (6)
- 收藏
- 关注
原创 swagger3配置Authorization和UserAccessInfo
import io.swagger.annotations.ApiOperation; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.builders.ApiInfoBuilder; import springfox.documentation.builders.Pa.
2021-11-02 17:43:13 1692
原创 优化mybatis-puls的QueryWrapper
mybatis-puls 的querywrapper优化 User user = new User(); user.setId(1); user.setUserName("小"); 优化前 QueryWrapper queryWrapper1 = new QueryWrapper(); queryWrapper1.eq("user_name",user.getUserName()); queryWrapper1.eq("id",user.getId()); List list1 = us
2021-09-02 16:36:36 300
原创 Invalid bound statement (not found)出现原因和解决方法
如果你是用的mybatis-plus,mapper的方法名和xml里面的id对得上,那么这个报错的出现也有可能是没有添加配置 mybatis-plus: configuration: map-underscore-to-camel-case: true auto-mapping-behavior: full log-impl: org.apache.ibatis.logging.stdout.StdOutImpl mapper-locations: classpath*:
2021-08-26 14:28:43 1077
原创 mysql根据两个日期查询两日期所有时间
select a.Date dates, to_days(a.Date) - to_days('20210301') as days from ( select curdate() - INTERVAL (a.a + (10 * b.a) + (100 * c.a) + (1000 * d.a) ) DAY as Date from (select 0 as a union all select 1 union all select 2 union all select 3 union a...
2021-03-18 14:05:15 342
The-JHipster-minibook
2018-05-16
linux1.0源码
2018-05-04
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人