|
|
@ -485,7 +485,12 @@ public class DcEmergencyPlansServiceImpl implements DcEmergencyPlansService { |
|
|
|
} |
|
|
|
}); |
|
|
|
if (dcDevices.size() > 0) { |
|
|
|
dcDevices = dcDevices.subList(0, dcExecuteAction.getNumber()); |
|
|
|
if (dcExecuteAction.getNumber() > dcDevices.size()) { |
|
|
|
dcDevices = dcDevices.subList(0, dcDevices.size()); |
|
|
|
}else { |
|
|
|
dcDevices = dcDevices.subList(0, dcExecuteAction.getNumber()); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} else { |
|
|
|
// 下行 取最小的几个
|
|
|
|