Browse Source

Merge branch 'test' of git@git.coding.net:aft/AFT.git into test

wanghui 8 years ago
parent
commit
021926539f

+ 3 - 22
src/main/java/com/goafanti/user/service/impl/UserIdentityServiceImpl.java

@@ -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() {