Commit bf1c9f65 by qwmqiuwenmin

fix

parent 71a2e2b1
......@@ -112,6 +112,7 @@ public class FriendClerkSyncOperation implements BaseSyncOperation {
@Override
public void checkDepartmentTask(String taskId) {
String key = "sync_create_task_";
boolean b = preDealService.checkTask(taskId, PreDealTypeEnum.friend_clerk.getVal());
if (!b) {
return;
......@@ -121,6 +122,7 @@ public class FriendClerkSyncOperation implements BaseSyncOperation {
//同步成功 进入门店处理
if (syncTask.getStatusFlag().equals(SyncTaskStatusEnum.friend_clerk_sync.getVal())) {
syncTaskService.updateTaskStatus(taskId, SyncTaskStatusEnum.compute.getVal());
RedisUtil.delCache(key + syncTask.getWxEnterpriseId());
}
}
......
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