From 230e5666ee778cf48ba224e6537e33d26b6b5d9c Mon Sep 17 00:00:00 2001
From: sfd <sun.sunshine@163.com>
Date: 星期一, 26 五月 2025 10:40:25 +0800
Subject: [PATCH] Merge branch 'dev' of http://192.168.50.149:8085/r/aps-backend into dev

---
 aps-api/aps-api-system/src/main/java/com/aps/system/api/factory/RemoteJobFallbackFactory.java |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/aps-api/aps-api-system/src/main/java/com/aps/system/api/factory/RemoteJobFallbackFactory.java b/aps-api/aps-api-system/src/main/java/com/aps/system/api/factory/RemoteJobFallbackFactory.java
index 12659b1..bc9cb80 100644
--- a/aps-api/aps-api-system/src/main/java/com/aps/system/api/factory/RemoteJobFallbackFactory.java
+++ b/aps-api/aps-api-system/src/main/java/com/aps/system/api/factory/RemoteJobFallbackFactory.java
@@ -20,7 +20,21 @@
     @Override
     public RemoteJobService create(Throwable throwable)
     {
+
         log.error("浠诲姟鏈嶅姟璋冪敤澶辫触:{}", throwable.getMessage());
-        return source -> R.fail("鍒锋柊BOM鏁版嵁澶辫触:" + throwable.getMessage());
+        return new RemoteJobService()
+        {
+            @Override
+            public R<Boolean> refreshBomData(String source)
+            {
+                return R.fail("鍒锋柊鍏ㄩ噺BOM鏁版嵁澶辫触:" + throwable.getMessage());
+            }
+
+            @Override
+            public R<Boolean> refreshProcessRouteData(String source)
+            {
+                return R.fail("鍒锋柊鍏ㄩ噺宸ヨ壓璺嚎鏁版嵁澶辫触:" + throwable.getMessage());
+            }
+        };
     }
 }

--
Gitblit v1.9.3