Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
relation
Commits
8d02e7ff
Commit
8d02e7ff
authored
Aug 12, 2025
by
wujipeng
Browse files
新增用户优化
parent
a9230cf5
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/com/platform/service/impl/UserServiceImpl.java
View file @
8d02e7ff
...
...
@@ -203,9 +203,9 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, UserEntity> impleme
userDTO
.
setAge
(
Integer
.
parseInt
(
idCardInfo
.
get
(
"age"
)));
userDTO
.
setSex
(
idCardInfo
.
get
(
"sex"
));
userDTO
.
setIdCard
(
idCardInfo
.
get
(
"idCard"
));
userDTO
.
setUserName
(
userDTO
.
getUserName
()
+
idCardInfo
.
get
(
"idCard"
));
userDTO
.
setIdType
(
"身份证"
);
}
userDTO
.
setUserName
(
userDTO
.
getUserName
()
+
userDTO
.
getIdCard
());
userDTO
.
setType
(
"1"
);
return
save
(
userDTO
);
}
...
...
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