From 097a230fea54afc1f0a21a16e5e9f38d45d0573e Mon Sep 17 00:00:00 2001
From: hongjli <3117313295@qq.com>
Date: 星期三, 14 五月 2025 10:29:48 +0800
Subject: [PATCH] 钣金计划(管理&大表)接口字段变更,管路、气柜产能负载按月统计工厂拆分,气柜管路产能规划增加工厂查询字段

---
 aps-api/aps-api-system/src/main/java/com/aps/system/api/factory/RemoteCoreFallbackFactory.java |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/aps-api/aps-api-system/src/main/java/com/aps/system/api/factory/RemoteCoreFallbackFactory.java b/aps-api/aps-api-system/src/main/java/com/aps/system/api/factory/RemoteCoreFallbackFactory.java
index b2d846d..ca6e0bd 100644
--- a/aps-api/aps-api-system/src/main/java/com/aps/system/api/factory/RemoteCoreFallbackFactory.java
+++ b/aps-api/aps-api-system/src/main/java/com/aps/system/api/factory/RemoteCoreFallbackFactory.java
@@ -21,6 +21,25 @@
     public RemoteCoreService create(Throwable throwable)
     {
         log.error("浠诲姟鏈嶅姟璋冪敤澶辫触:{}", throwable.getMessage());
-        return source -> R.fail("BOM鏁版嵁瀛樺偍鍒癛edis涓け璐�:" + throwable.getMessage());
+        return new RemoteCoreService()
+        {
+            @Override
+            public R<Boolean> setBomDataToRedis(String source)
+            {
+                return R.fail("BOM鏁版嵁瀛樺偍鍒癛edis涓け璐�:" + throwable.getMessage());
+            }
+
+            @Override
+            public R<Boolean> setProcessRouteDataToRedis(String source)
+            {
+                return R.fail("宸ヨ壓璺嚎鏁版嵁瀛樺偍鍒癛edis涓け璐�:" + throwable.getMessage());
+            }
+
+            @Override
+            public R<Boolean> setStorageDataToRedis(String source)
+            {
+                return R.fail("搴撳瓨鏁版嵁瀛樺偍鍒癛edis涓け璐�:" + throwable.getMessage());
+            }
+        };
     }
 }

--
Gitblit v1.9.3