Commit 32ebcde4 by fudahua

同步通讯录 同步加锁

parent 843c4f52
...@@ -144,12 +144,7 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ ...@@ -144,12 +144,7 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ
logger.info("任务不在没有在异常状态!{}", taskId); logger.info("任务不在没有在异常状态!{}", taskId);
return; return;
} }
String lock = getTaskLock(task.getWxEnterpriseId());
if (lock != null) {
logger.info("已经上锁");
return;
}
lockTask(task.getWxEnterpriseId(), taskId);
int groupErrCount = preDealService.countExcepAndPreByTaskId(taskId, PreDealTypeEnum.group.getVal()); int groupErrCount = preDealService.countExcepAndPreByTaskId(taskId, PreDealTypeEnum.group.getVal());
int storeErrCount = preDealService.countExcepAndPreByTaskId(taskId, PreDealTypeEnum.store.getVal()); int storeErrCount = preDealService.countExcepAndPreByTaskId(taskId, PreDealTypeEnum.store.getVal());
List<TabHaobanPreDealLog> list = null; List<TabHaobanPreDealLog> list = null;
......
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