|
@@ -113,7 +113,7 @@ public class BenchmarkingController {
|
|
|
@CrossOrigin(origins = "*", maxAge = 3600)
|
|
|
public R wtList(@RequestParam(value = "wpid",required = true) String wpid){
|
|
|
List<Windturbine> resultList = benchmarkingService.wtList(wpid);
|
|
|
-
|
|
|
+ SortUtils.sort(resultList,"status",SortUtils.ASC);
|
|
|
if (StringUtils.isNotNull(resultList)) {
|
|
|
return R.ok(resultList.size()).data(resultList);
|
|
|
}else{
|