| | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.order.api.model.TChargingOrderAccountingStrategy; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.Set; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @since 2024-08-07 |
| | | */ |
| | | public interface TChargingOrderAccountingStrategyService extends IService<TChargingOrderAccountingStrategy> { |
| | | |
| | | |
| | | /** |
| | | * 获取给定天数范围内的充电量统计 |
| | | * @param days 天数 |
| | | * @return |
| | | */ |
| | | List<List<Map<String, Object>>> getTotalElectricQuantity(Integer days, Set<Integer> siteIds); |
| | | |
| | | |
| | | /** |
| | | * 获取给定天数每天的充电度数 |
| | | * @param days 天数 |
| | | * @return |
| | | */ |
| | | List<Double> getDailyChargingDegree(Integer days, Set<Integer> siteIds); |
| | | } |