Commit 9a2f5fa9 by fudahua

Merge branch 'developer' into 'master'

刷新次数以及主门店变更刷新企业微信好友

See merge request !128
parents 24a4a717 86282b50
...@@ -469,8 +469,8 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ ...@@ -469,8 +469,8 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ
syncCheckDTO.setSyncStatus(syncTask.getStatusFlag()); syncCheckDTO.setSyncStatus(syncTask.getStatusFlag());
PreDealLogInfoDTO dealLogInfoDTO = preDealService.getLastPreDataByTaskId(taskId); PreDealLogInfoDTO dealLogInfoDTO = preDealService.getLastPreDataByTaskId(taskId);
//分钟内没执行就重试 并在一天内 //30分钟内没执行就重试 并在一天内
Date date = DateUtils.addMinutes(new Date(), -1); Date date = DateUtils.addMinutes(new Date(), -30);
Date dayDate = DateUtils.addDays(new Date(), -1); Date dayDate = DateUtils.addDays(new Date(), -1);
if (dealLogInfoDTO.getUpdateTime().before(date) if (dealLogInfoDTO.getUpdateTime().before(date)
&&syncTask.getUpdateTime().before(date) &&syncTask.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