提交 667bec66 编写于 作者: wenhao.qin's avatar wenhao.qin

补充修改列表密码标识

上级 95b98544
流水线 #43543 已取消 于阶段
...@@ -28,4 +28,6 @@ public class HospitalSaasUserEditResp { ...@@ -28,4 +28,6 @@ public class HospitalSaasUserEditResp {
private Integer pwdFlag = 1; private Integer pwdFlag = 1;
@ApiModelProperty("角色ids") @ApiModelProperty("角色ids")
private List<Long> roleIds; private List<Long> roleIds;
private Integer acctId;
} }
...@@ -343,8 +343,12 @@ public class HospitalSaasUserServiceImpl implements HospitalSaasUserService { ...@@ -343,8 +343,12 @@ public class HospitalSaasUserServiceImpl implements HospitalSaasUserService {
resp.setMobile(phone); resp.setMobile(phone);
return resp; return resp;
} }
if (StringUtils.isNotBlank(resp.getPassword())) { if (resp.getAcctId() != null){
AccountInfoEntity accountInfo = accountInfoDetailMapper.selectByPrimaryKey(resp.getAcctId());
if (StringUtils.isNotBlank(accountInfo.getPassword())) {
resp.setPwdFlag(1); resp.setPwdFlag(1);
resp.setPassword(accountInfo.getPassword());
}
} }
return resp; return resp;
} }
......
...@@ -394,7 +394,7 @@ ...@@ -394,7 +394,7 @@
p.hospital_id as hospitalId, p.hospital_id as hospitalId,
p.mobile_phone as mobile, p.mobile_phone as mobile,
p.comment as comment, p.comment as comment,
p.password as password p.acct_id as acctId
from p_doctor as p from p_doctor as p
where p.id = #{id, jdbcType=INTEGER} where p.id = #{id, jdbcType=INTEGER}
and p.delete_flag = 1 and p.delete_flag = 1
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册