|
|
@ -212,9 +212,9 @@ public class GroupActInfoServiceImpl extends BaseServiceImpl<GroupActInfoDao, Gr |
|
|
|
redisUtils.setBit(actShoudReadUserKey,memberDTO.getTempNum(),true); |
|
|
|
} |
|
|
|
}); |
|
|
|
/*readRecordEntityList.forEach(readRecordEntity->{ |
|
|
|
readRecordEntityList.forEach(readRecordEntity->{ |
|
|
|
actReadRecordDao.insert(readRecordEntity); |
|
|
|
});*/ |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
private void saveGroupMessage(GroupActInfoEntity groupActInfoEntity) { |
|
|
@ -518,7 +518,7 @@ public class GroupActInfoServiceImpl extends BaseServiceImpl<GroupActInfoDao, Gr |
|
|
|
insertEntity.setGridId(groupActInfoEntity.getGridId()); |
|
|
|
insertEntity.setGroupId(groupActInfoEntity.getGroupId()); |
|
|
|
// todo
|
|
|
|
// actReadRecordDao.insert(insertEntity);
|
|
|
|
actReadRecordDao.insert(insertEntity); |
|
|
|
|
|
|
|
}else{ |
|
|
|
if(GroupActConstant.UN_READ.equals(actReadRecordEntity.getReadFlag())){ |
|
|
@ -526,7 +526,7 @@ public class GroupActInfoServiceImpl extends BaseServiceImpl<GroupActInfoDao, Gr |
|
|
|
actReadRecordEntity.setReadFlag(GroupActConstant.READ); |
|
|
|
actReadRecordEntity.setUpdatedTime(new Date()); |
|
|
|
// todo
|
|
|
|
// actReadRecordDao.updateById(actReadRecordEntity);
|
|
|
|
actReadRecordDao.updateById(actReadRecordEntity); |
|
|
|
|
|
|
|
//状态改为已读
|
|
|
|
redisUtils.setBit(actReadKey,resiGroupMemberDTO.getTempNum(),true); |
|
|
|