xuhy
2024-09-06 f2dff53d76a7e9a23e6a2ecfed58ce978dc41442
ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/factory/AccountingStrategyDetailFallbackFactory.java
@@ -26,11 +26,6 @@
      return new AccountingStrategyDetailClient(){
         
         @Override
         public R<TAccountingStrategyDetail> getNowData(Integer accountingStrategyId) {
            return R.fail("获取当前有效的计费策略明细失败:" + throwable.getMessage());
         }
         @Override
         public R<TAccountingStrategyDetail> getDetailBySiteId(Integer siteId) {
            return R.fail("通过站点id查询当前时段使用的策略明细失败:" + throwable.getMessage());
         }
@@ -46,6 +41,11 @@
         }
         @Override
         public R<List<TAccountingStrategyDetail>> getListByAccountingStrategyId(Integer id) {
            throw new RuntimeException("根据计费策略主表id策略明细失败:" + throwable.getMessage());
         }
         @Override
         public R<List<TAccountingStrategyDetail>> getDetailListByCode(String code) {
            return R.fail("通过桩编号查询当前使用的策略明细列表失败:" + throwable.getMessage());
         }