Commit 4eef265c authored by yanzg's avatar yanzg

修改MQ请求尸体,防止出错

parent 083f61f3
...@@ -880,7 +880,7 @@ public class DateHelper { ...@@ -880,7 +880,7 @@ public class DateHelper {
if (dateTime == null) { if (dateTime == null) {
return null; return null;
} }
Date hour = DateHelper.getDateTime(DateHelper.getDateTimeString("yyyy-MM-dd HH:00:00.000", dateTime)); Date hour = DateHelper.getDateTime(DateHelper.getDateTimeString("yyyy-MM-dd HH:mm:00.000", dateTime));
long totalMill = dateTime.getTime() - hour.getTime(); long totalMill = dateTime.getTime() - hour.getTime();
long unit = totalMill / MINUTE_UNIT / minute; long unit = totalMill / MINUTE_UNIT / minute;
Date to = new Date(hour.getTime() + unit * MINUTE_UNIT * minute); Date to = new Date(hour.getTime() + unit * MINUTE_UNIT * minute);
......
...@@ -17,7 +17,6 @@ public class QueueServiceImpl implements QueueService { ...@@ -17,7 +17,6 @@ public class QueueServiceImpl implements QueueService {
@Autowired @Autowired
private BeanDao beanDao; private BeanDao beanDao;
/** /**
* 保存接口请求日志 * 保存接口请求日志
* *
......
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