读书笔记 -- Spring Boot3 核心技术 Chapter2 Spring Boot 配置管理
摘要:2.1 配置类 2.1.1 自定义配置类 @SpringBootConfiguration:SpringBoot 的专用注解,与 @Configuration 等效; @Configuration:Spring 的原生注解; 通过 @SpringBootConfiguration 或 @Config
阅读全文
posted @
2023-06-28 11:24
bruce_he
阅读(136)
推荐(0) 编辑
读书笔记 -- Spring Boot3 核心技术 Chapter1 Spring Boot 基础入门
摘要:1.1 Spring Boot 概述 1. Spring 的两个核心: IoC 和 AOP,关于其详细介绍,参看 https://www.cnblogs.com/bruce-he/p/17503258.html 2. Spring Boot 提供了各种技术组件的一站式自动启动器(starter),下
阅读全文
posted @
2023-06-26 11:24
bruce_he
阅读(54)
推荐(0) 编辑
mysql -- 根据变量a的不同值设置变量b(case when + set)
摘要:需求: 根据 变量 @period_endtime 的不同值,设置相对应的 @end_type @period_endtime @end_type 0331 1 0630 2 0930 3 1231 4 实现: set @i_period = '20230331'; SET @period_endt
阅读全文
posted @
2023-06-18 15:48
bruce_he
阅读(30)
推荐(0) 编辑
Linux 下分卷压缩,windows 解压
摘要:1. Linux 分卷压缩 tar czf - /mnt/import2023/ | split -b 3G - /mnt/hq2023.tar.gz 压缩后形成的文件: 2. 将这些文件复制到 windows,然后运行命令 copy /b hq2023.tar.* hq2023.tar.gz 3.
阅读全文
posted @
2023-06-15 18:05
bruce_he
阅读(344)
推荐(0) 编辑