|
|
@@ -89,7 +89,7 @@ public class MpRelationServiceImpl extends MyBaseServiceImpl<MpRelationMapper, M
|
|
|
}
|
|
|
// 同步关注状态到 t_user(兜底事件丢失场景)
|
|
|
var allRelations = lambdaQuery().isNotNull(MpRelation::getUserId).list();
|
|
|
- if (CommUtil.isNotEmptyOrNull(allRelations)) {
|
|
|
+ if (!CommUtil.isEmptyOrNull(allRelations)) {
|
|
|
var subscribedIds = allRelations.stream()
|
|
|
.filter(MpRelation::getSubscribe)
|
|
|
.map(MpRelation::getUserId).toList();
|