zhibing.pu
2024-08-31 f6125b320b78b36c439e85d926cb2b11cd71fc6c
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;
/**
@@ -37,6 +39,11 @@
            public R<TParkingRecord> getRecordById(Long siteId) {
                return R.fail("通过id查询停车场记录:" + throwable.getMessage());
            }
            @Override
            public R<BigDecimal> getRecordAmount(LocalDate sixBefore) {
                return null;
            }
        };
    }
}