bug更改
This commit is contained in:
@ -620,7 +620,7 @@ public class IargeScreenShowServiceImpl implements IargeScreenShowService {
|
||||
subdataList.add(subdata);
|
||||
}
|
||||
});
|
||||
subdataList.sort(Comparator.comparing((Subdata::getIncomeValue)).reversed());
|
||||
subdataList.sort(Comparator.comparing((Subdata::getRelease)).reversed());
|
||||
return subdataList;
|
||||
}
|
||||
private List<Subdata> getPvSubdata(String beginString, String endString, List<Station> stations){
|
||||
@ -732,7 +732,7 @@ public class IargeScreenShowServiceImpl implements IargeScreenShowService {
|
||||
subdataList.add(subdata);
|
||||
}
|
||||
});
|
||||
subdataList.sort(Comparator.comparing((Subdata::getIncomeValue)).reversed());
|
||||
subdataList.sort(Comparator.comparing((Subdata::getRelease)).reversed());
|
||||
return subdataList;
|
||||
|
||||
}
|
||||
|
||||
@ -63,8 +63,8 @@ public class StationRemoteController {
|
||||
|
||||
@PostMapping("search")
|
||||
@ApiOperation(value = "查询远控电站信息")
|
||||
public DataResult<StationRemoteControl> search(@RequestBody Integer StationId) {
|
||||
StationRemoteControl stationRemoteControl=stationRemoteControlService.search(StationId);
|
||||
public DataResult<StationRemoteControl> search(@RequestBody Integer stationId) {
|
||||
StationRemoteControl stationRemoteControl=stationRemoteControlService.search(stationId);
|
||||
return DataResult.success(stationRemoteControl);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user