1
This commit is contained in:
parent
d0c0d02f97
commit
07df7503be
@ -40,6 +40,7 @@ public interface NotifyMessageMapper extends BaseMapperX<NotifyMessageDO> {
|
||||
.eqIfPresent(NotifyMessageDO::getReadStatus, reqVO.getReadStatus())
|
||||
.betweenIfPresent(NotifyMessageDO::getCreateTime, reqVO.getCreateTime())
|
||||
.eq(NotifyMessageDO::getUserId, userId)
|
||||
.eq(NotifyMessageDO::getUserType, 1)
|
||||
.orderByDesc(NotifyMessageDO::getId));
|
||||
}
|
||||
|
||||
|
@ -70,7 +70,7 @@ public class NotifyMessageServiceImpl implements NotifyMessageService {
|
||||
@Override
|
||||
@TenantIgnore
|
||||
public Long getWXUnreadNotifyMessageCount(Long userId) {
|
||||
return notifyMessageMapper.selectUnreadCountByUserIdAndUserType(userId, null);
|
||||
return notifyMessageMapper.selectUnreadCountByUserIdAndUserType(userId, 1);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user