Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gf_back
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tianchao
gf_back
Commits
c202fe3d
Commit
c202fe3d
authored
Nov 22, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得到的
parent
0dcb2df7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
C02-system/pps-core-system/src/main/java/pps/core/system/service/SysUserService.java
...src/main/java/pps/core/system/service/SysUserService.java
+2
-0
C02-system/pps-core-system/src/main/resources/mybatis/mapper/pps/core/system/SysUserViewMapper.xml
...rces/mybatis/mapper/pps/core/system/SysUserViewMapper.xml
+1
-1
No files found.
C02-system/pps-core-system/src/main/java/pps/core/system/service/SysUserService.java
View file @
c202fe3d
...
...
@@ -139,9 +139,11 @@ public class SysUserService {
if
(
count
>
0
)
{
return
XServiceResult
.
error
(
context
,
LoginError
.
Account_Already_Exists
);
}
entity
.
setLoginName
(
input
.
getLoginName
());
entity
.
setUserCode
(
input
.
getUserCode
());
entity
.
setUserName
(
input
.
getUserName
());
entity
.
setAddress
(
input
.
getAddress
());
entity
.
setPostalCode
(
input
.
getPostalCode
());
if
(
CharSequenceUtil
.
isNotBlank
(
input
.
getPassword
()))
{
entity
.
setPassword
(
input
.
getPassword
());
}
else
{
...
...
C02-system/pps-core-system/src/main/resources/mybatis/mapper/pps/core/system/SysUserViewMapper.xml
View file @
c202fe3d
...
...
@@ -125,7 +125,7 @@
SUOR.OU_ID,
SO.OU_NAME,
SU.STATUS,
SO2.OU_NAME || '->' || SO.OU_NAME
AS CONCAT_OU_NAME
DECODE( SO2.OU_NAME, NULL, SO.OU_NAME, SO2.OU_NAME || '->' || SO.OU_NAME )
AS CONCAT_OU_NAME
FROM SYS_USER SU
LEFT JOIN SYS_USER_ORGANIZATION_REL SUOR ON SUOR.USER_ID=SU.ID
LEFT JOIN SYS_ORGANIZATION SO ON SUOR.OU_ID=SO.ID
...
...
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