|
|
@ -90,6 +90,6 @@ public class InteractiveController { |
|
|
|
@RequestParam @ApiParam("结束时间")String endTime) { |
|
|
|
@RequestParam @ApiParam("结束时间")String endTime) { |
|
|
|
double generate = interactiveService.generation(stationId,startTime,endTime); |
|
|
|
double generate = interactiveService.generation(stationId,startTime,endTime); |
|
|
|
DecimalFormat format = new DecimalFormat("0.00"); |
|
|
|
DecimalFormat format = new DecimalFormat("0.00"); |
|
|
|
return R.data(format.format(generate) + "kwh"); |
|
|
|
return R.data(format.format(generate) + "kWh"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|