Commit d588ec1b authored by shiyu's avatar shiyu

关注数量

parent fe799ad1
......@@ -221,8 +221,8 @@ public class SelfPageServiceImpl implements SelfPageService {
map.put("name", StringUtils.isEmpty(user.getNickname()) ? "微信用户" : user.getNickname());
map.put("background", StringUtils.isEmpty(user.getBackground()) ? CommConsts.DEFAULT_BACKGROUND_URL : user.getBackground());
map.put("profile", user.getProfile());
long fansNum = followFansRecordDao.countFans(itemUserId);
map.put("fansNum", fansNum);
long followerNum = followFansRecordDao.countFollowers(itemUserId);
map.put("followerNum", followerNum);
map.put("targetUserId", itemUserId);
long count = supplierItemDao.countByCreatorId(itemUserId);
map.put("count", count);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment