|
|
@@ -461,7 +461,7 @@ public class RecallService implements ApplicationContextAware {
|
|
|
Set<String> ghIds = hisArticleList.stream().map(Article::getGhId).collect(Collectors.toSet());
|
|
|
Set<String> appMsgIds = hisArticleList.stream().map(Article::getAppMsgId).collect(Collectors.toSet());
|
|
|
List<Article> firstIndexHisArticleList = new ArrayList<>();
|
|
|
- if (CollectionUtils.isEmpty(ghIds) || CollectionUtils.isEmpty(appMsgIds)) {
|
|
|
+ if (CollectionUtils.isNotEmpty(ghIds) && CollectionUtils.isNotEmpty(appMsgIds)) {
|
|
|
firstIndexHisArticleList = articleMapper.getByGhIdInAndAppMsgIdInAndItemIndexAndTypeEqualsAndStatusEquals(
|
|
|
ghIds, appMsgIds, 1, type, 1);
|
|
|
}
|