From 128ae5f2be7d19610c55998dd9202fc1b8e239ca Mon Sep 17 00:00:00 2001
From: zhaowenxuan <chacca165@163.com>
Date: 星期一, 01 七月 2024 14:12:43 +0800
Subject: [PATCH] 使用新的字典同步工具类

---
 src/main/java/com/example/scheudleds/DictSync.java |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/src/main/java/com/example/scheudleds/DictSync.java b/src/main/java/com/example/scheudleds/DictSync.java
index 8666ce9..5de19a9 100644
--- a/src/main/java/com/example/scheudleds/DictSync.java
+++ b/src/main/java/com/example/scheudleds/DictSync.java
@@ -1,6 +1,7 @@
 package com.example.scheudleds;
 
 import com.example.utils.DictionaryUtil;
+import com.example.utils.DictionaryUtilNew;
 import lombok.extern.slf4j.Slf4j;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -18,6 +19,8 @@
 public class DictSync {
     @Autowired
     private DictionaryUtil dictionaryUtil;
+    @Autowired
+    private DictionaryUtilNew dictionaryUtilNew;
 
     /**
      * 瀛楀吀鍚屾
@@ -30,11 +33,12 @@
             fileWriter.write("");
             fileWriter.close();
         } catch (IOException ignored) {}
-        try {
-            dictionaryUtil.exec1();
-        } catch (IOException e) {
-            log.error("瀹氭椂浠诲姟寮傚父");
-            e.printStackTrace();
-        }
+//        try {
+//            dictionaryUtil.exec1();
+//        } catch (IOException e) {
+//            log.error("瀹氭椂浠诲姟寮傚父");
+//            e.printStackTrace();
+//        }
+        dictionaryUtilNew.exec1();
     }
 }

--
Gitblit v1.8.0