From 7595b19b26f0dfd755bd66e1f481b0d623632d72 Mon Sep 17 00:00:00 2001 From: zhoushihao <zsh19950802@163.com> Date: 星期一, 05 八月 2024 18:25:33 +0800 Subject: [PATCH] 1、磨边前卧式理片:解决更换玻璃时笼内玻璃符合出片条件不出玻璃的情况 2、大理片:钢化下片的玻璃走人工下片问题解决 --- hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/CacheGlassModuleApplication.java | 11 +++-------- 1 files changed, 3 insertions(+), 8 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 42b56a2..13cceb4 100644 --- a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/CacheGlassModuleApplication.java +++ b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/CacheGlassModuleApplication.java @@ -1,15 +1,12 @@ package com.mes; -import com.mes.common.WebSocketServer; 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.context.ConfigurableApplicationContext; +import org.springframework.scheduling.annotation.EnableScheduling; import springfox.documentation.swagger2.annotations.EnableSwagger2; -import com.mes.edgstoragecage.service.*; /** * @Author : zhoush @@ -21,14 +18,12 @@ @MapperScan("com.mes.*.mapper") @EnableDiscoveryClient @EnableSwagger2 +@EnableScheduling public class CacheGlassModuleApplication { public static void main(String[] args) { try { - SpringApplication springApplication = new SpringApplication(CacheGlassModuleApplication.class); - ConfigurableApplicationContext applicationContext = springApplication.run(args); - WebSocketServer.setApplicationContext(applicationContext); - //SpringApplication.run(CacheGlassModuleApplication.class, args); + SpringApplication.run(CacheGlassModuleApplication.class, args); } catch (Exception e) { log.error(e.getMessage()); } -- Gitblit v1.8.0