Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-cloud-account
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
1
合并请求
1
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.account
pica-cloud-account
提交
c038ab3a
提交
c038ab3a
编写于
11月 17, 2022
作者:
xinxu.wang
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'release' into 'master'
Release See merge request
!125
上级
d5cca727
fae38e21
流水线
#51397
已失败 于阶段
变更
3
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
13 行增加
和
2 行删除
+13
-2
HospitalSaasUserDto.java
...loud/account/account/server/resp/HospitalSaasUserDto.java
+7
-1
HospitalSaasUserServiceImpl.java
...ount/server/service/impl/HospitalSaasUserServiceImpl.java
+1
-0
AccountMapper.xml
server/src/main/resources/mybatis/AccountMapper.xml
+5
-1
未找到文件。
server/src/main/java/com/pica/cloud/account/account/server/resp/HospitalSaasUserDto.java
浏览文件 @
c038ab3a
...
@@ -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
;
}
}
server/src/main/java/com/pica/cloud/account/account/server/service/impl/HospitalSaasUserServiceImpl.java
浏览文件 @
c038ab3a
...
@@ -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
);
}
}
...
...
server/src/main/resources/mybatis/AccountMapper.xml
浏览文件 @
c038ab3a
...
@@ -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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录