Authored by hugufei

fix bug

... ... @@ -312,7 +312,7 @@ public class UserRecallResponseResultBuilder {
int fromIndex = 1;
for (StrategyEnum strategy : intervalStrategyEnums) {
int recallInterval = recallConfigService.queryStrategyConfigInterval(userRecallRequest, strategy, 10);
List<String> intervalKeys = (List<String>) MapUtils.getObject(strategy2IntervalKeyMap, strategy, new ArrayList<>());
Set<String> intervalKeys = strategy2IntervalKeyMap.get(strategy);
if (CollectionUtils.isEmpty(intervalKeys)) {
this.addByIndexIndex(sknResultList, results, fromIndex++, recallInterval, (sknResult) -> strategy.equals(sknResult.getStrategy()), (sknResult) -> sknResult.isOnlyOneStrategy());
continue;
... ...