|
@@ -211,6 +211,9 @@ public class AnalysisServiceImpl implements AnalysisService {
|
|
|
*/
|
|
|
private List<String> getWindEngineGroupByBatchCode(String batchCode){
|
|
|
List<WindEngineGroupVo> engineGroupVos = engineGroupMapper.selectWindEngineGroupByBatchCode(batchCode);
|
|
|
+ if(CollectionUtils.isEmpty(engineGroupVos)){
|
|
|
+ return new ArrayList<>();
|
|
|
+ }
|
|
|
return engineGroupVos.parallelStream().map(WindEngineGroupVo::getEngineCode).collect(Collectors.toList());
|
|
|
}
|
|
|
|