Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hphy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
向怀芳
hphy
Commits
f7780f60
Commit
f7780f60
authored
Jun 10, 2022
by
向怀芳
🎱
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. bugfix:性别修复
2. 新增版本配置文件
parent
53f8d6df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
HphyPatientBaseServiceImpl.java
...t/theme/hphy/service/impl/HphyPatientBaseServiceImpl.java
+1
-1
bootstrap-test.yml
...odules/theme-schema/src/main/resources/bootstrap-test.yml
+18
-0
No files found.
smart-health-modules/theme-schema/src/main/java/cn/sh/stc/sict/theme/hphy/service/impl/HphyPatientBaseServiceImpl.java
View file @
f7780f60
...
@@ -42,7 +42,7 @@ public class HphyPatientBaseServiceImpl extends ServiceImpl<HphyPatientBaseMappe
...
@@ -42,7 +42,7 @@ public class HphyPatientBaseServiceImpl extends ServiceImpl<HphyPatientBaseMappe
base
.
setName
(
userInfo
.
getUsername
());
base
.
setName
(
userInfo
.
getUsername
());
base
.
setCertId
(
userInfo
.
getPersoncard
());
base
.
setCertId
(
userInfo
.
getPersoncard
());
base
.
setAge
(
String
.
valueOf
(
IdcardUtil
.
getAgeByIdCard
(
userInfo
.
getPersoncard
())));
base
.
setAge
(
String
.
valueOf
(
IdcardUtil
.
getAgeByIdCard
(
userInfo
.
getPersoncard
())));
base
.
setGender
(
Constant
.
STRING
_YES
.
equals
(
userInfo
.
getGender
())
?
"男"
:
"女"
);
base
.
setGender
(
Constant
.
BYTE
_YES
.
equals
(
userInfo
.
getGender
())
?
"男"
:
"女"
);
base
.
setVerifyStatus
(
userInfo
.
getVerifyStatus
());
base
.
setVerifyStatus
(
userInfo
.
getVerifyStatus
());
if
(
CollUtil
.
isNotEmpty
(
cardList
)){
if
(
CollUtil
.
isNotEmpty
(
cardList
)){
WDUserCardInfo
card
=
cardList
.
get
(
0
);
WDUserCardInfo
card
=
cardList
.
get
(
0
);
...
...
smart-health-modules/theme-schema/src/main/resources/bootstrap-test.yml
0 → 100644
View file @
f7780f60
server
:
port
:
12253
spring
:
application
:
name
:
@
artifactId@
main
:
allow-bean-definition-overriding
:
true
# nacos
cloud
:
nacos
:
server-addr
:
127.0.0.1:8848
discovery
:
namespace
:
eb001e6c-9c22-421f-8f36-ed92821014d8
config
:
namespace
:
eb001e6c-9c22-421f-8f36-ed92821014d8
file-extension
:
yml
shared-dataids
:
application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment