提交 675d1522 编写于 作者: wenhao.qin's avatar wenhao.qin

fix --是否是saas系统管理员标识修改

上级 c05c539e
流水线 #42989 已取消 于阶段
......@@ -26,4 +26,6 @@ public class HospitalSaasUserDto {
private Integer roleId;
@ApiModelProperty("角色名称")
private String roleName;
@ApiModelProperty("saas系统管理员标识 0 不是 1是")
private Integer adminSaasFlag = 0;
}
......@@ -179,6 +179,9 @@ public class HospitalSaasUserServiceImpl implements HospitalSaasUserService {
String phone = EncryptUtils.decryptContent(t.getMobile(), EncryptConstants.ENCRYPT_TYPE_MOBILE, EncryptConstants.ENCRYPT_DECRYPT_KEY);
String mixMobile = mixMobile(phone);
t.setMobile(mixMobile);
if (Objects.equals(t.getRoleId(),3)){
t.setAdminSaasFlag(1);
}
});
return new HospitalSaasUserResp(lists, count);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册