|
|
@@ -39,6 +39,7 @@ import com.goafanti.common.utils.LoggerUtils;
|
|
|
import com.goafanti.core.mybatis.BaseMybatisDao;
|
|
|
import com.goafanti.core.mybatis.page.Pagination;
|
|
|
import com.goafanti.core.shiro.token.TokenManager;
|
|
|
+import com.goafanti.demand.bo.ObjectInterestListBo;
|
|
|
import com.goafanti.portal.bo.UserSubscriberListBo;
|
|
|
import com.goafanti.user.bo.Advertisings;
|
|
|
import com.goafanti.user.bo.AuditorUserIdentityDetailBo;
|
|
|
@@ -353,7 +354,11 @@ public class UserIdentityServiceImpl extends BaseMybatisDao<UserIdentityMapper>
|
|
|
|
|
|
Pagination<UserIdentityBo> p= (Pagination<UserIdentityBo>) findPage("findUserIdentityListByPage",
|
|
|
"findUserIdentityCount", params, pNo, pSize);
|
|
|
-
|
|
|
+ List<UserIdentityBo> l=(List<UserIdentityBo>) p.getList();
|
|
|
+ for (UserIdentityBo u : l) {
|
|
|
+ int i=userInterestMapper.countInterest(u.getId());
|
|
|
+ u.setCountInterest(String.valueOf(i));
|
|
|
+ }
|
|
|
return p;
|
|
|
}
|
|
|
|