|
@@ -36,9 +36,9 @@ public class PhotovoltaicEfficiencyAnalysis2 {
|
|
|
@GetMapping("/efficiency")
|
|
|
private JSONObject getFileList(
|
|
|
@RequestParam(value = "station", required = true) String station,
|
|
|
- @RequestParam(value = "inverters", required = true) List<String> inverters,
|
|
|
+ @RequestParam(value = "inverters", required = false) List<String> inverters,
|
|
|
@RequestParam(value = "startdate", required = true) long startdate,
|
|
|
- @RequestParam("interval") int interval,
|
|
|
+ @RequestParam(value = "interval", required = false) int interval,
|
|
|
@RequestParam(value = "enddate", required = true) long enddate) {
|
|
|
|
|
|
Map<String, List<PhotovoltaicInfo>> datasInfos = curveFittingService.getDatas2File1(station, startdate, enddate, interval);
|