Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
1b48627c
Commit
1b48627c
authored
Dec 13, 2021
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.删除无用代码
parent
55ac42f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
MetaHandler.java
...in/java/com/yeejoin/amos/boot/biz/config/MetaHandler.java
+3
-4
No files found.
amos-boot-biz-common/src/main/java/com/yeejoin/amos/boot/biz/config/MetaHandler.java
View file @
1b48627c
...
...
@@ -133,7 +133,7 @@ public class MetaHandler implements MetaObjectHandler {
*/
@Override
public
void
updateFill
(
MetaObject
metaObject
)
{
//
DOTO
tianbo 逻辑
//
todo
tianbo 逻辑
Class
clazz
=
metaObject
.
getOriginalObject
().
getClass
();
FillCommonUserField
annotation
=
(
FillCommonUserField
)
clazz
.
getAnnotation
(
FillCommonUserField
.
class
);
if
(
annotation
==
null
||
annotation
.
isAutoFill
())
{
...
...
@@ -142,8 +142,6 @@ public class MetaHandler implements MetaObjectHandler {
}
// 正常只需要更新如下
Date
currentDate
=
new
Date
();
if
(
isExistField
(
"updateTime"
,
metaObject
.
getOriginalObject
()))
{
this
.
setFieldValByName
(
"updateTime"
,
currentDate
,
metaObject
);
}
this
.
setFieldValByName
(
"updateTime"
,
currentDate
,
metaObject
);
}
}
\ No newline at end of file
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