From 748d2d7f2c1b898517b9debc4feb4d80c34e53e7 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期四, 11 七月 2024 17:52:15 +0800 Subject: [PATCH] 屏蔽深库位出库浅库位有货问题 --- src/main/java/com/zy/Boot.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/Boot.java b/src/main/java/com/zy/Boot.java index 6f1f7db..a616580 100644 --- a/src/main/java/com/zy/Boot.java +++ b/src/main/java/com/zy/Boot.java @@ -4,13 +4,22 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; +import org.springframework.scheduling.annotation.EnableAsync; +import org.springframework.scheduling.annotation.EnableScheduling; +@EnableAsync +@EnableScheduling @SpringBootApplication public class Boot extends SpringBootServletInitializer { public static void main(String[] args) { RandomValidateCodeUtil.init(); SpringApplication.run(Boot.class, args); +// new Thread(()-> { +// ServerBootstrap serverBootstrap = SpringUtils.getBean(ServerBootstrap.class); +// serverBootstrap.init(); +// }).start(); + } // @Override -- Gitblit v1.9.1