| | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.core.dto.ChargingOrderGroup; |
| | | import com.ruoyi.common.core.dto.ChargingPercentProvinceDto; |
| | | import com.ruoyi.order.api.dto.ChargingStatisticeDTO; |
| | | import com.ruoyi.order.api.feignClient.ChargingOrderClient; |
| | | import com.ruoyi.order.api.model.AddTripartitePlatformOrder; |
| | | import com.ruoyi.order.api.model.ChargingListQuery; |
| | |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.cloud.openfeign.FallbackFactory; |
| | | import org.springframework.stereotype.Component; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | |
| | | @Override |
| | | public R<List<ChargingOrderGroup>> getBySiteIdAndTime(ChargingPercentProvinceDto chargingPercentProvinceDto) { |
| | | return null; |
| | | return R.fail("获取数据失败:" + throwable.getMessage()); |
| | | } |
| | | |
| | | @Override |
| | |
| | | } |
| | | |
| | | @Override |
| | | public void endChargeBillingCharge(TransactionRecordMessageVO vo) { |
| | | log.error("停止充电返回账单后计算费用处理失败:" + throwable.getMessage()); |
| | | public R endChargeBillingCharge(TransactionRecordMessageVO vo) { |
| | | return R.fail("停止充电返回账单后计算费用处理失败:" + throwable.getMessage()); |
| | | } |
| | | |
| | | @Override |
| | | public R<List<TChargingOrder>> getChargingOrder(TChargingOrderVo order) { |
| | | return R.fail("获取充电订单数据失败:" + throwable.getMessage()); |
| | | } |
| | | |
| | | |
| | | |
| | | @Override |
| | | public R<List<TChargingOrder>> getChargingStatistics(ChargingStatisticeDTO dto) { |
| | | return R.fail("获取充电订单数据失败-监管:" + throwable.getMessage()); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public R<List<TChargingOrder>> getCarChargingOrder(Long carId, String startTime, String endTime) { |
| | | return R.fail("根据车辆id获取指定时间范围内的数据失败:" + throwable.getMessage()); |
| | | } |
| | | |
| | | @Override |
| | | public R<List<TChargingOrder>> getCarChargingOrderByPlateNum(String plateNum, String startTime, String endTime) { |
| | | return R.fail("根据车牌号查询指定时间范围内的数据失败:" + throwable.getMessage()); |
| | | } |
| | | |
| | | @Override |
| | |
| | | public R tripartitePlatformStopCharge(String startChargeSeq) { |
| | | return R.fail("三方平台请求停止充电失败:" + throwable.getMessage()); |
| | | } |
| | | @Override |
| | | public R<BigDecimal> getSumDegreeBySiteIds(@RequestParam("siteIds") List<Integer> SiteIds){ |
| | | return R.fail("获取站点集合中总的充电量失败:" + throwable.getMessage()); |
| | | } |
| | | }; |
| | | } |
| | | } |