提交 c038ab3a 编写于 作者: xinxu.wang's avatar xinxu.wang

Merge branch 'release' into 'master'

Release

See merge request !125
流水线 #51397 已失败 于阶段
...@@ -20,8 +20,10 @@ public class HospitalSaasUserDto { ...@@ -20,8 +20,10 @@ public class HospitalSaasUserDto {
private String name; private String name;
@ApiModelProperty("机构id") @ApiModelProperty("机构id")
private Long hospitalId; private Long hospitalId;
@ApiModelProperty("手机号") @ApiModelProperty("手机号(密文)")
private String mobile; private String mobile;
@ApiModelProperty("手机号(明文)")
private String phone;
@ApiModelProperty("备注") @ApiModelProperty("备注")
private String comment; private String comment;
@ApiModelProperty("角色") @ApiModelProperty("角色")
...@@ -32,4 +34,8 @@ public class HospitalSaasUserDto { ...@@ -32,4 +34,8 @@ public class HospitalSaasUserDto {
private String roleName; private String roleName;
@ApiModelProperty("saas系统管理员标识 0 不是 1是") @ApiModelProperty("saas系统管理员标识 0 不是 1是")
private Integer adminSaasFlag = 0; private Integer adminSaasFlag = 0;
@ApiModelProperty("认证状态 3已认证")
private Integer status = 0;
} }
...@@ -224,6 +224,7 @@ public class HospitalSaasUserServiceImpl implements HospitalSaasUserService { ...@@ -224,6 +224,7 @@ public class HospitalSaasUserServiceImpl implements HospitalSaasUserService {
String phone = EncryptUtils.decryptContent(t.getMobile(), EncryptConstants.ENCRYPT_TYPE_MOBILE, EncryptConstants.ENCRYPT_DECRYPT_KEY); String phone = EncryptUtils.decryptContent(t.getMobile(), EncryptConstants.ENCRYPT_TYPE_MOBILE, EncryptConstants.ENCRYPT_DECRYPT_KEY);
String mixMobile = mixMobile(phone); String mixMobile = mixMobile(phone);
t.setMobile(mixMobile); t.setMobile(mixMobile);
t.setPhone(phone);
}); });
return new HospitalSaasUserResp(lists, count); return new HospitalSaasUserResp(lists, count);
} }
......
...@@ -355,6 +355,9 @@ ...@@ -355,6 +355,9 @@
<if test="comment != null"> <if test="comment != null">
comment = #{comment,jdbcType=VARCHAR}, comment = #{comment,jdbcType=VARCHAR},
</if> </if>
<if test="comment == null">
comment = null,
</if>
<if test="registerType != null"> <if test="registerType != null">
register_type = #{registerType,jdbcType=INTEGER}, register_type = #{registerType,jdbcType=INTEGER},
</if> </if>
...@@ -431,7 +434,8 @@ ...@@ -431,7 +434,8 @@
p.name as name, p.name as name,
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.status
from p_doctor as p from p_doctor as p
where where
<include refid="select_list_page"></include> <include refid="select_list_page"></include>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册