| | |
| | | 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()); |
| | | } |
| | |
| | | } |
| | | |
| | | @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()); |
| | | } |