Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
ffbdeefd
Commit
ffbdeefd
authored
Dec 18, 2019
by
zuoyh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
员工信息修改_复职修改
parent
1dc7901e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
AppUserPositionController.java
.../security/admin/rest/admin/AppUserPositionController.java
+2
-4
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/rest/admin/AppUserPositionController.java
View file @
ffbdeefd
...
@@ -114,8 +114,7 @@ public class AppUserPositionController {
...
@@ -114,8 +114,7 @@ public class AppUserPositionController {
try
{
try
{
IJWTInfo
infoFromToken
=
userAuthUtil
.
getInfoFromToken
(
userAuthConfig
.
getToken
(
request
));
IJWTInfo
infoFromToken
=
userAuthUtil
.
getInfoFromToken
(
userAuthConfig
.
getToken
(
request
));
Integer
operatorId
=
Integer
.
valueOf
(
infoFromToken
.
getId
());
Integer
operatorId
=
Integer
.
valueOf
(
infoFromToken
.
getId
());
appUserPositionTempBiz
.
addUserPositionChangeRecord
(
appUserPositionTempDTO
.
getChangeStatus
(),
appUserPositionTempDTO
,
operatorId
);
return
ObjectRestResponse
.
succ
(
appUserPositionTempBiz
.
addUserPositionChangeRecord
(
appUserPositionTempDTO
.
getChangeStatus
(),
appUserPositionTempDTO
,
operatorId
));
return
ObjectRestResponse
.
succ
();
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"修改失败【{}】"
,
e
);
log
.
error
(
"修改失败【{}】"
,
e
);
throw
new
BaseException
(
"修改失败"
);
throw
new
BaseException
(
"修改失败"
);
...
@@ -139,8 +138,7 @@ public class AppUserPositionController {
...
@@ -139,8 +138,7 @@ public class AppUserPositionController {
try
{
try
{
IJWTInfo
infoFromToken
=
userAuthUtil
.
getInfoFromToken
(
userAuthConfig
.
getToken
(
request
));
IJWTInfo
infoFromToken
=
userAuthUtil
.
getInfoFromToken
(
userAuthConfig
.
getToken
(
request
));
Integer
operatorId
=
Integer
.
valueOf
(
infoFromToken
.
getId
());
Integer
operatorId
=
Integer
.
valueOf
(
infoFromToken
.
getId
());
appUserPositionTempBiz
.
andAddUserPositionChangeRecord
(
appUserPositionTempDTO
,
operatorId
);
return
ObjectRestResponse
.
succ
(
appUserPositionTempBiz
.
andAddUserPositionChangeRecord
(
appUserPositionTempDTO
,
operatorId
));
return
ObjectRestResponse
.
succ
();
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"修改失败【{}】"
,
e
);
log
.
error
(
"修改失败【{}】"
,
e
);
throw
new
BaseException
(
"修改失败"
);
throw
new
BaseException
(
"修改失败"
);
...
...
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