Commit 34f2e1b1 by huangfusuper

修改格式化时间错误

parent 0ed7082d
...@@ -35,7 +35,7 @@ public class FlowStatusSnapshootServiceImpl implements FlowStatusSnapshootServic ...@@ -35,7 +35,7 @@ public class FlowStatusSnapshootServiceImpl implements FlowStatusSnapshootServic
String hourBefStr = String.valueOf(Integer.parseInt(thisHourStr)+1); String hourBefStr = String.valueOf(Integer.parseInt(thisHourStr)+1);
//20201212 12:12:12 //20201212 12:12:12
Date date = DateUtil.strFormatDate(thisDateStr + " " + hourBefStr + ":00:00", "yyyyMMdd HH:mm:dd"); Date date = DateUtil.strFormatDate(thisDateStr + " " + hourBefStr + ":00:00", "yyyyMMdd HH:mm:ss");
long between = cn.hutool.core.date.DateUtil.between(new Date(), date, DateUnit.MINUTE); long between = cn.hutool.core.date.DateUtil.between(new Date(), date, DateUnit.MINUTE);
if (between > 3) { if (between > 3) {
log.info("--------开始删除当前点数的工作流快照----------"); log.info("--------开始删除当前点数的工作流快照----------");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment