| | |
| | | * @return |
| | | */ |
| | | @ResponseBody |
| | | @GetMapping("/getTotalElectricQuantity/{days}") |
| | | @PostMapping("/getTotalElectricQuantity/{days}") |
| | | public R<List<List<Map<String, Object>>>> getTotalElectricQuantity(@PathVariable Integer days, @RequestParam("siteIds") Set<Integer> siteIds){ |
| | | List<List<Map<String, Object>>> list = chargingOrderAccountingStrategyService.getTotalElectricQuantity(days, siteIds); |
| | | return R.ok(list); |
| | |
| | | * @return |
| | | */ |
| | | @ResponseBody |
| | | @GetMapping("/getDailyChargingDegree/{days}") |
| | | @PostMapping("/getDailyChargingDegree/{days}") |
| | | public R<List<Double>> getDailyChargingDegree(@PathVariable Integer days, @RequestParam("siteIds") Set<Integer> siteIds){ |
| | | List<Double> list = chargingOrderAccountingStrategyService.getDailyChargingDegree(days, siteIds); |
| | | return R.ok(list); |