From 41173fc2dfd848b08a217ab725033a412868a31c Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期二, 06 八月 2024 10:59:01 +0800 Subject: [PATCH] 修改磨边界面显示数据为磨边队列表的数据 --- hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/CacheGlassModuleApplication.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/CacheGlassModuleApplication.java b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/CacheGlassModuleApplication.java index e1eb378..13cceb4 100644 --- a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/CacheGlassModuleApplication.java +++ b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/CacheGlassModuleApplication.java @@ -2,12 +2,11 @@ import lombok.extern.slf4j.Slf4j; import org.mybatis.spring.annotation.MapperScan; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; +import org.springframework.scheduling.annotation.EnableScheduling; import springfox.documentation.swagger2.annotations.EnableSwagger2; -import com.mes.edgstoragecage.service.*; /** * @Author : zhoush @@ -19,12 +18,13 @@ @MapperScan("com.mes.*.mapper") @EnableDiscoveryClient @EnableSwagger2 +@EnableScheduling public class CacheGlassModuleApplication { public static void main(String[] args) { try { SpringApplication.run(CacheGlassModuleApplication.class, args); - }catch (Exception e){ + } catch (Exception e) { log.error(e.getMessage()); } -- Gitblit v1.8.0