From 0b66b6df1df5118d1e31a3d9d33de344b2a6fafc Mon Sep 17 00:00:00 2001 From: wu <731351411@qq.com> Date: 星期一, 17 二月 2025 15:32:28 +0800 Subject: [PATCH] 更改暂停数据更改逻辑,更改预览工程条件逻辑,增加新拿走破损方法 --- hangzhoumesParent/moduleService/LoadGlassModule/src/main/java/com/mes/LoadGlassModuleApplication.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hangzhoumesParent/moduleService/LoadGlassModule/src/main/java/com/mes/LoadGlassModuleApplication.java b/hangzhoumesParent/moduleService/LoadGlassModule/src/main/java/com/mes/LoadGlassModuleApplication.java index 2634690..5d05d8e 100644 --- a/hangzhoumesParent/moduleService/LoadGlassModule/src/main/java/com/mes/LoadGlassModuleApplication.java +++ b/hangzhoumesParent/moduleService/LoadGlassModule/src/main/java/com/mes/LoadGlassModuleApplication.java @@ -5,7 +5,8 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; -import springfox.documentation.swagger2.annotations.EnableSwagger2; +import org.springframework.scheduling.annotation.EnableScheduling; +import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc; /** * @Author : zhoush @@ -14,8 +15,9 @@ */ @Slf4j @SpringBootApplication -@EnableSwagger2 +@EnableSwagger2WebMvc @EnableDiscoveryClient +@EnableScheduling @MapperScan(basePackages = "com.mes.*.mapper") public class LoadGlassModuleApplication { public static void main(String[] args) { -- Gitblit v1.8.0