Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
chnmuseum-party
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
liqin
chnmuseum-party
Commits
7c43a45c
Commit
7c43a45c
authored
Apr 07, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
fe7778ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
MetaObjectHandlerConfig.java
...nmuseum/party/common/mybatis/MetaObjectHandlerConfig.java
+0
-10
No files found.
src/main/java/cn/wisenergy/chnmuseum/party/common/mybatis/MetaObjectHandlerConfig.java
View file @
7c43a45c
...
...
@@ -34,8 +34,6 @@ public class MetaObjectHandlerConfig implements MetaObjectHandler {
if
(
updateTime
==
null
)
{
this
.
setFieldValByName
(
"updateTime"
,
now
,
metaObject
);
}
this
.
setFieldValByName
(
"version"
,
1
,
metaObject
);
final
TUser
currentUser
=
getCurrentUser
();
if
(
currentUser
!=
null
)
{
final
String
userName
=
JwtTokenUtil
.
getUsername
(
currentUser
.
getJwtToken
());
...
...
@@ -53,14 +51,6 @@ public class MetaObjectHandlerConfig implements MetaObjectHandler {
if
(
updateTime
==
null
)
{
this
.
setFieldValByName
(
"updateTime"
,
now
,
metaObject
);
}
final
TUser
currentUser
=
getCurrentUser
();
if
(
currentUser
!=
null
)
{
final
String
userName
=
JwtTokenUtil
.
getUsername
(
currentUser
.
getJwtToken
());
final
TUser
user
=
this
.
userService
.
selectByUsername
(
userName
);
this
.
setFieldValByName
(
"userId"
,
user
.
getId
(),
metaObject
);
this
.
setFieldValByName
(
"userName"
,
user
.
getUserName
(),
metaObject
);
this
.
setFieldValByName
(
"orgName"
,
user
.
getOrgName
(),
metaObject
);
}
}
/*
...
...
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