Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
ms-data-circulation-portal-service
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8a1fdd7a
authored
2025-03-03 11:13:04 +0800
by
肖初晴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【DAOP-1.0】企业认证
【功能点】测试问题处理
1 parent
656bd622
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/csbr/qingcloud/portal/util/ObjectUtil.java
src/main/java/com/csbr/qingcloud/portal/util/ObjectUtil.java
View file @
8a1fdd7
...
...
@@ -58,8 +58,8 @@ public class ObjectUtil {
r
.
setFieldComment
(
""
);
}
if
(
oldField
.
getType
()
==
Date
.
class
)
{
r
.
setOldValue
(
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
).
format
((
Date
)
oldField
.
get
(
oldObj
)));
r
.
setNewValue
(
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
).
format
((
Date
)
new
Field
.
get
(
newObj
)));
r
.
setOldValue
(
DateUtil
.
getDateToString
((
Date
)
oldField
.
get
(
oldObj
)));
r
.
setNewValue
(
DateUtil
.
getDateToString
((
Date
)
old
Field
.
get
(
newObj
)));
}
return
r
;
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment