Commit 13d585f7 by 徐高华

test

parent f715a8ad
...@@ -915,6 +915,7 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ ...@@ -915,6 +915,7 @@ public class DealSyncOperationApiServiceImpl implements DealSyncOperationApiServ
return false; return false;
} }
if(type==0) { if(type==0) {
this.syncTaskService.updateTaskStatus(taskId,4) ;
logger.info("部门成功,开始同步成员:{}", taskId); logger.info("部门成功,开始同步成员:{}", taskId);
String key = "haoban_sync_department_task_" + taskId; String key = "haoban_sync_department_task_" + taskId;
RedisUtil.lock(key, 3L); RedisUtil.lock(key, 3L);
......
...@@ -203,7 +203,6 @@ public class QywxDeptSyncOperation implements BaseSyncOperation { ...@@ -203,7 +203,6 @@ public class QywxDeptSyncOperation implements BaseSyncOperation {
return dealLog; return dealLog;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
this.preDealService.insert(preDealLogList); this.preDealService.insert(preDealLogList);
this.syncTaskService.updateTaskStatus(taskId,4) ;
} }
return null ; return 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