Commit 03bde6a0 by fudahua

一分钟之内没完成 就重试

parent b0f488bd
...@@ -451,7 +451,7 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ ...@@ -451,7 +451,7 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ
syncCheckDTO.setSyncStatus(syncTask.getStatusFlag()); syncCheckDTO.setSyncStatus(syncTask.getStatusFlag());
PreDealLogInfoDTO dealLogInfoDTO = preDealService.getLastPreDataByTaskId(taskId); PreDealLogInfoDTO dealLogInfoDTO = preDealService.getLastPreDataByTaskId(taskId);
//一分钟内没执行就重试 //一分钟内没执行就重试 并在一天内
Date date = DateUtils.addMinutes(new Date(), -1); Date date = DateUtils.addMinutes(new Date(), -1);
Date dayDate = DateUtils.addDays(new Date(), -1); Date dayDate = DateUtils.addDays(new Date(), -1);
if (dealLogInfoDTO.getUpdateTime().before(date) if (dealLogInfoDTO.getUpdateTime().before(date)
......
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