Merge remote-tracking branch 'origin/main' into main

main
rong.liu 11 months ago
commit b9c2592d4b
  1. 7
      users/src/main/java/com/huoran/users/entity/res/UserInfoDetailsRes.java
  2. 5
      users/src/main/java/com/huoran/users/service/impl/HrUserAccountServiceImpl.java

@ -30,9 +30,14 @@ public class UserInfoDetailsRes implements Serializable {
* 用户id * 用户id
*/ */
@ApiModelProperty("用户id") @ApiModelProperty("用户id")
@TableId(value = "userId", type = IdType.AUTO)
private Integer userId; private Integer userId;
@ApiModelProperty("无数据状态")
private boolean status;
@ApiModelProperty("信息")
private String message;
/** /**
* 用户对象 * 用户对象
*/ */

@ -417,6 +417,11 @@ public class HrUserAccountServiceImpl extends ServiceImpl<HrUserAccountMapper, H
//查询账号详情List //查询账号详情List
List<HrUserAccount> userAccountList = hrUserAccountMapper.selectList(new QueryWrapper<HrUserAccount>() List<HrUserAccount> userAccountList = hrUserAccountMapper.selectList(new QueryWrapper<HrUserAccount>()
.eq("app_open_id", openId)); .eq("app_open_id", openId));
if (userAccountList.size() == 0){
res.setStatus(false);
res.setMessage("用户不存在,请先重新登录注册!");
return res;
}
//查询个人端用户信息 //查询个人端用户信息
Integer userId = null; Integer userId = null;

Loading…
Cancel
Save