From af8f6fb713ec7991d259424399963ec84ea3b288 Mon Sep 17 00:00:00 2001
From: 1 <1@123>
Date: 星期六, 25 四月 2026 09:16:25 +0800
Subject: [PATCH] lsh#

---
 asrs-schedule/src/main/java/com/vincent/rsf/schedule/schedules/SynchronizationToMESSchedules.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/asrs-schedule/src/main/java/com/vincent/rsf/schedule/schedules/SynchronizationToMESSchedules.java b/asrs-schedule/src/main/java/com/vincent/rsf/schedule/schedules/SynchronizationToMESSchedules.java
index a981821..43d3756 100644
--- a/asrs-schedule/src/main/java/com/vincent/rsf/schedule/schedules/SynchronizationToMESSchedules.java
+++ b/asrs-schedule/src/main/java/com/vincent/rsf/schedule/schedules/SynchronizationToMESSchedules.java
@@ -50,7 +50,7 @@
     /**
      * @author Munch D. Luffy
      * @date 2026/01/15
-     * @description: 缂撳瓨鍖哄煙鑷姩鐢熸垚绉诲簱浠诲姟
+     * @description: 绔欑偣鍚屾鑷矼ES
      * @version 1.0
      */
     @Scheduled(cron = "0 0/01 * * * ?  ")
@@ -60,6 +60,7 @@
         if (Cools.isEmpty(config) || !Boolean.parseBoolean(config.getVal())) {
             return;
         }
+        configService.refreshCache();
 
         String autoSiteSynchronizationToMesValue = configService.getVal(GlobalConfigCode.AUTO_SITE_SYNCHRONIZATION_TO_MES_VALUE, String.class);
         if (Cools.isEmpty(autoSiteSynchronizationToMesValue)) {
@@ -98,8 +99,8 @@
             item.put("ConnPortName", Cools.isEmpty(basStation.getStationId()) ? basStation.getStationName() : basStation.getStationId());
             item.put("WorkshopCode", "");
             item.put("WorkshopName", "");
-            item.put("ProductionLineCode", basStation.getProductionLineCode());
-            item.put("ProductionLineName", basStation.getProductionLineName());
+            item.put("ProductionLineCode", basStation.getProductionLineCode$());
+            item.put("ProductionLineName", basStation.getProductionLineName$());
             item.put("CreatedBy", "WMSSystem");
             item.put("IsValid", Objects.equals(basStation.getStatus(), 1));
             params.add(item);

--
Gitblit v1.9.1