From fcf2006fa8dad6d2a7c811b339ec590744306bb9 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 07 七月 2020 14:00:18 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/task/WcsDispatcher.java |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/task/WcsDispatcher.java b/src/main/java/com/zy/asrs/task/WcsDispatcher.java
index d8d9797..ba9504f 100644
--- a/src/main/java/com/zy/asrs/task/WcsDispatcher.java
+++ b/src/main/java/com/zy/asrs/task/WcsDispatcher.java
@@ -1,6 +1,8 @@
 package com.zy.asrs.task;
 
+import com.zy.asrs.task.handler.WorkLogHandler;
 import com.zy.asrs.task.handler.WorkMastHandler;
+import com.zy.system.service.ConfigService;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -9,10 +11,12 @@
 import javax.annotation.PreDestroy;
 
 /**
+ * 鍗曠嚎绋嬫ā寮�  锛� 宸插純鐢� )
  * 浠诲姟涓績璋冨害鍣�
  * Created by vincent on 2020/7/4
  */
 //@Component
+@Deprecated
 public class WcsDispatcher {
 
     private static final Logger log = LoggerFactory.getLogger(WcsDispatcher.class);
@@ -20,6 +24,10 @@
 
     @Autowired
     private WorkMastHandler workMastHandler;
+    @Autowired
+    private WorkLogHandler workLogHandler;
+    @Autowired
+    private ConfigService configService;
 
     @PostConstruct
     private void start(){
@@ -30,6 +38,7 @@
 
                     workMastHandler.start();
 
+                    workLogHandler.start();
 
                 } catch (Exception e) {
                     log.error("Exception", e);

--
Gitblit v1.9.1