Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
fangxinjiang
yifu-mvp
Commits
d7d5b6e1
Commit
d7d5b6e1
authored
Dec 29, 2022
by
huyuchen
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.4' into MVP1.4
parents
b59379cd
1412cef4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
TBusDeptController.java
...lus/v1/business/controller/system/TBusDeptController.java
+2
-2
No files found.
yifu-business/yifu-business-biz/src/main/java/com/yifu/cloud/plus/v1/business/controller/system/TBusDeptController.java
View file @
d7d5b6e1
...
@@ -187,7 +187,7 @@ public class TBusDeptController {
...
@@ -187,7 +187,7 @@ public class TBusDeptController {
YifuUser
user
=
SecurityUtils
.
getUser
();
YifuUser
user
=
SecurityUtils
.
getUser
();
if
(
user
!=
null
&&
user
.
getId
()
!=
null
)
{
if
(
user
!=
null
&&
user
.
getId
()
!=
null
)
{
tBusDept
.
setCreateTime
(
LocalDateTime
.
now
());
tBusDept
.
setCreateTime
(
LocalDateTime
.
now
());
tBusDept
.
setCreateUserId
(
String
.
valueOf
(
user
.
getId
()
));
tBusDept
.
setCreateUserId
(
user
.
getId
(
));
tBusDept
.
setCreateUserName
(
user
.
getNickname
());
tBusDept
.
setCreateUserName
(
user
.
getNickname
());
tBusDept
.
setLevel
(
parentDept
.
getLevel
()
+
CommonConstants
.
ONE_INT
);
tBusDept
.
setLevel
(
parentDept
.
getLevel
()
+
CommonConstants
.
ONE_INT
);
tBusDeptService
.
save
(
tBusDept
);
tBusDeptService
.
save
(
tBusDept
);
...
@@ -300,7 +300,7 @@ public class TBusDeptController {
...
@@ -300,7 +300,7 @@ public class TBusDeptController {
String
error
;
String
error
;
YifuUser
user
=
SecurityUtils
.
getUser
();
YifuUser
user
=
SecurityUtils
.
getUser
();
if
(
user
==
null
||
user
.
getId
()
==
null
)
{
if
(
user
==
null
||
Common
.
isEmpty
(
user
.
getId
())
)
{
return
R
.
failed
(
"未获取到登录人信息!"
);
return
R
.
failed
(
"未获取到登录人信息!"
);
}
}
String
userId
=
String
.
valueOf
(
user
.
getId
());
String
userId
=
String
.
valueOf
(
user
.
getId
());
...
...
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