VMware 给虚拟机设置固定IP示例
### Ⅰ、主机网卡 ```shell C:\Users\Dell>ipconfig -all 以太网适配器 VMware Network Adapter VMnet1: 连接特定的 DNS 后缀 . . . . . . . : 描述. . . . . . . . . . . . . . . : V
开发日常
未读
springboot 应用启动后立刻执行一些操作
> **在Spring Boot应用启动后立即执行一些操作,可以通过多种方式实现。** ### Ⅰ. 使用 `CommandLineRunner` `CommandLineRunner` 是一个接口,其实现类的 `run` 方法会在应用启动后立即执行。你可以通过实现这个接口来执行一些启动后的操作。
开发日常
未读
随记分页取数据及保留小数位
```java @Slf4j @Component @Profile({"prod", "dev"}) public class BgdcScheduleService { @Resource private ResultShapeDkService resultShapeDkService; @R