From 44137e717170d9a9333e33a5237f3a468bd41113 Mon Sep 17 00:00:00 2001
From: ZY <zc857179121@qq.com>
Date: 星期一, 28 四月 2025 12:49:35 +0800
Subject: [PATCH] 双数据源

---
 src/main/java/com/zy/asrs/task/PlcLogScheduler.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/asrs/task/PlcLogScheduler.java b/src/main/java/com/zy/asrs/task/PlcLogScheduler.java
index 63043fd..57517fe 100644
--- a/src/main/java/com/zy/asrs/task/PlcLogScheduler.java
+++ b/src/main/java/com/zy/asrs/task/PlcLogScheduler.java
@@ -20,10 +20,10 @@
     private PlcLogHandler plcLogHandler;
 
     @Scheduled(cron = "0/3 * * * * ? ")
-    private void execute(){
+    public void execute(){
         ReturnT<String> returnT = plcLogHandler.start();
         if (!returnT.isSuccess()) {
-            log.error( returnT.getMsg());
+            log.error(returnT.getMsg());
         }
     }
 

--
Gitblit v1.9.1