Pu Zhibing
2025-03-19 cf32754f130955a617836cae7685c1a24979060c
ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/factory/ParkingLotFallbackFactory.java
@@ -34,21 +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(LocalDate sixBefore) {
                return null;
            public R<BigDecimal> getRecordAmount(String sixBefore) {
                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());
            }
        };
    }
}