11
This commit is contained in:
parent
9304e21f01
commit
4632a78224
@ -728,7 +728,10 @@ public class AIOBServiceImpl implements IAIOBService {
|
|||||||
if (StringUtils.isNotBlank(currentQuestion)) {
|
if (StringUtils.isNotBlank(currentQuestion)) {
|
||||||
for (int i = 0; i < speechList.size(); i++) {
|
for (int i = 0; i < speechList.size(); i++) {
|
||||||
if (StringUtils.equals(speechList.get(i).getContextText(), currentQuestion)) {
|
if (StringUtils.equals(speechList.get(i).getContextText(), currentQuestion)) {
|
||||||
return speechList.get(i+1);
|
if (speechList.size() >= i + 1)
|
||||||
|
return speechList.get(i + 1);
|
||||||
|
else
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user