|
|
@ -53,6 +53,7 @@ public class UserService implements IUserService{ |
|
|
|
|
|
|
|
/** |
|
|
|
* 查询个人信息 |
|
|
|
* |
|
|
|
* @param params |
|
|
|
* @return |
|
|
|
*/ |
|
|
@ -76,7 +77,7 @@ public class UserService implements IUserService{ |
|
|
|
throw new BaseException(CodeEnum.NOT_EMPLOYEE); |
|
|
|
} |
|
|
|
//查询信息
|
|
|
|
UserVo.UserInfo userInfoVo = new UserVo.UserInfo(); |
|
|
|
UserVo.UserInfo userInfoVo = null; |
|
|
|
RealNameAuthExample realNameAuthExample = new RealNameAuthExample(); |
|
|
|
realNameAuthExample.createCriteria().andUserIdEqualTo(userId); |
|
|
|
List<RealNameAuth> realNameAuthList = realNameAuthDao.selectByExample(realNameAuthExample); |
|
|
@ -84,7 +85,7 @@ public class UserService implements IUserService{ |
|
|
|
userInfoVo = new UserVo.UserInfo(); |
|
|
|
BeanUtil.copyProperties(realNameAuthList.get(0), userInfoVo); |
|
|
|
// userInfoVo.setRealName(HealthConstant.REAL_NAME_YES);
|
|
|
|
} |
|
|
|
|
|
|
|
// //判断是否为学校成员
|
|
|
|
// EmployeeExample newExample = new EmployeeExample();
|
|
|
|
// newExample.createCriteria().andTallUserIdEqualTo(userId);
|
|
|
@ -110,12 +111,13 @@ public class UserService implements IUserService{ |
|
|
|
} |
|
|
|
} |
|
|
|
userInfoVo.setHealthCodeList(healthCodeList); |
|
|
|
|
|
|
|
} |
|
|
|
return userInfoVo; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 保存个人信息 |
|
|
|
* |
|
|
|
* @param params |
|
|
|
* @return |
|
|
|
*/ |
|
|
@ -199,6 +201,7 @@ public class UserService implements IUserService{ |
|
|
|
|
|
|
|
/** |
|
|
|
* 绑定帐号 |
|
|
|
* |
|
|
|
* @param sourceUserId 源userId(舍) |
|
|
|
* @param targetUserId 替换的userId(留) |
|
|
|
* @return |
|
|
@ -243,6 +246,7 @@ public class UserService implements IUserService{ |
|
|
|
|
|
|
|
/** |
|
|
|
* 查询个人轨迹 |
|
|
|
* |
|
|
|
* @param params |
|
|
|
* @return |
|
|
|
*/ |
|
|
|