随笔分类 - 工作 / 工作中可用
摘要:builder.and(Expressions.booleanTemplate("FUNCTION('jsonb_contains', {0}, {1})", dashboardReportsEntity.prepareReportViewMembers, Expressions.template(
阅读全文
摘要:初始化方法 @PostConstruct InitializingBean CommandLineRunner ApplicationRunner 先后顺序 @PostConstruct > InitializingBean > CommandLineRunner、ApplicationRunner
阅读全文
摘要:#####一、spring boot 的事件由 ApplicationEvent 类及其子类表示。您可以创建自己的事件,只需扩展 ApplicationEvent 类并定义自己的构造函数即可。 ```java public class DomainEvent extends ApplicationE
阅读全文
摘要:一、先了解拦截器在http请求中所占的位置 推荐博客https://www.freesion.com/article/6875405887/ shiro配置文件: @Configuration public class ShiroConfig { //配置类的三大属性 //一、shiroFilter
阅读全文
摘要:一、继承接口AbstractRoutingDataSource(mysql) 主要的starter: <dependency> <groupId>com.alibaba</groupId> <artifactId>druid-spring-boot-starter</artifactId> <ver
阅读全文

浙公网安备 33010602011771号