Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
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
liyuan
byit-myth-job
Commits
d9524b48
Commit
d9524b48
authored
May 21, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改格式化时间错误
parent
34f2e1b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
FlowStatusSnapshootServiceImpl.java
...com/byit/service/impl/FlowStatusSnapshootServiceImpl.java
+6
-0
No files found.
byit-myth-core/myth-admin-core/src/main/java/com/byit/service/impl/FlowStatusSnapshootServiceImpl.java
View file @
d9524b48
package
com
.
byit
.
service
.
impl
;
import
cn.hutool.core.collection.CollectionUtil
;
import
cn.hutool.core.date.DateUnit
;
import
com.byit.job.utils.DateUtil
;
import
com.byit.mapper.FlowStatusSnapshootMapper
;
...
...
@@ -29,6 +30,11 @@ public class FlowStatusSnapshootServiceImpl implements FlowStatusSnapshootServic
@Override
public
void
removeAndSaveSnapshoot
(
List
<
FlowStatusSnapshoot
>
allFlow
)
{
if
(
CollectionUtil
.
isEmpty
(
allFlow
))
{
log
.
info
(
"-----------------无需快照插入-------------------"
);
return
;
}
//获取当天的日期
String
thisDateStr
=
DateUtil
.
dateFormat
(
new
Date
(),
"yyyyMMdd"
);
String
thisHourStr
=
DateUtil
.
dateFormat
(
new
Date
(),
"HH"
);
...
...
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