...
|
...
|
@@ -279,6 +279,7 @@ public class GrassUserDataSyncServiceImpl implements IGrassUserDataSyncService { |
|
|
return userPraiseCountMap;
|
|
|
}
|
|
|
|
|
|
//用户的关注数量
|
|
|
private Map<UidAndUserType, Long> getUserAttenNum( Long startTime, Long endTime){
|
|
|
List<UidAndAttention> uidAndAttentionList = publicUserAttentionRepository.selectUidAttenCount(startTime, endTime);
|
|
|
Map<UidAndUserType, Long> userPraiseCountMap = new HashMap<>();
|
...
|
...
|
@@ -291,6 +292,7 @@ public class GrassUserDataSyncServiceImpl implements IGrassUserDataSyncService { |
|
|
return userPraiseCountMap;
|
|
|
}
|
|
|
|
|
|
//用户被关注的数量
|
|
|
private Map<UidAndUserType, Long> getUserFansNum( Long startTime, Long endTime){
|
|
|
List<UidAndAttention> uidAndAttentionList = publicUserAttentionRepository.selectUidFansCount(startTime, endTime);
|
|
|
Map<UidAndUserType, Long> userPraiseCountMap = new HashMap<>();
|
...
|
...
|
|