From e46db188efe1fb54f7617426bd6cef6deb076009 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期五, 21 三月 2025 15:35:22 +0800
Subject: [PATCH] 充电桩bug修改
---
ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/factory/ParkingLotFallbackFactory.java | 30 +++++++++++++++++++++++++++++-
1 files changed, 29 insertions(+), 1 deletions(-)
diff --git a/ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/factory/ParkingLotFallbackFactory.java b/ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/factory/ParkingLotFallbackFactory.java
index ef7c322..255b1dc 100644
--- a/ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/factory/ParkingLotFallbackFactory.java
+++ b/ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/factory/ParkingLotFallbackFactory.java
@@ -11,6 +11,8 @@
import org.springframework.cloud.openfeign.FallbackFactory;
import org.springframework.stereotype.Component;
+import java.math.BigDecimal;
+import java.time.LocalDate;
import java.util.List;
/**
@@ -32,11 +34,37 @@
public R<TParkingLot> getLotBySiteId(Integer siteId) {
return R.fail("通过站点id查询停车场信息调用失败:" + throwable.getMessage());
}
-
+
+
+ @Override
+ public R<List<TParkingLot>> getAllParkingLot() {
+ return R.fail("获取所有停车场数据失败:" + throwable.getMessage());
+ }
+
@Override
public R<TParkingRecord> getRecordById(Long siteId) {
return R.fail("通过id查询停车场记录:" + throwable.getMessage());
}
+
+ @Override
+ public R<BigDecimal> getRecordAmount() {
+ return R.fail("获取数据失败:" + throwable.getMessage());
+ }
+
+ @Override
+ public R<TParkingLot> getParkingLotByAppKey(String appKey) {
+ return R.fail("根据停车场标识查询失败:" + throwable.getMessage());
+ }
+
+ @Override
+ public R<Integer> getSiteIdByOrderId(Long id) {
+ return R.fail("获取数据失败:" + throwable.getMessage());
+ }
+
+ @Override
+ public R<List<TParkingRecord>> getSiteIdAll() {
+ return R.fail("获取数据失败:" + throwable.getMessage());
+ }
};
}
}
--
Gitblit v1.7.1