|
|
@@ -347,30 +347,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) {
|
|
|
- if (u.getProvince()!=0) {
|
|
|
- if (null!=u.getProvince()) {
|
|
|
- System.out.println(u.getProvince());
|
|
|
- u.setProvince0(districtGlossoryMapper.selectByPrimaryKey(u.getProvince()).getName());
|
|
|
- }
|
|
|
- if (null!=u.getCity()) {
|
|
|
- u.setCity0(String.valueOf(districtGlossoryMapper.selectByPrimaryKey(u.getCity()).getName()));
|
|
|
- }
|
|
|
- if (null!=u.getArea()) {
|
|
|
- u.setArea0(String.valueOf(districtGlossoryMapper.selectByPrimaryKey(u.getArea()).getName()));
|
|
|
- }
|
|
|
- if (null!=u.getIndustry()) {
|
|
|
- u.setIndustry0(String.valueOf(industryCategoryMapper.selectByPrimaryKey(u.getIndustry()).getName()));
|
|
|
- }
|
|
|
-
|
|
|
- }
|
|
|
- u.setCountInterest(String.valueOf(userInterestMapper.countInterest(u.getUid())));
|
|
|
-
|
|
|
- }
|
|
|
|
|
|
return p;
|
|
|
- }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
|
|
|
@Override
|
|
|
public List<fieldGlossoryBo> industryList() {
|