Commit 52be9553 by fudahua

同步处理 死循环处理

parent 36620bf2
......@@ -130,9 +130,9 @@ public class GroupSyncOperation implements BaseSyncOperation {
@Override
public void dealException(String taskId, String dataId, String enterpriseId, String reason) {
List<String> ids = storeGroupService.getStoreGroupIdsByParentId(enterpriseId, dataId);
preDealService.updateStatusByDataId(taskId, dataId, PreDealStatusEnum.exception.getVal(), reason);
if (CollectionUtils.isEmpty(ids)) {
logger.info("下面层级不存在");
preDealService.updateStatusByDataId(taskId, dataId, PreDealStatusEnum.exception.getVal(), reason);
//todo 是否需要加锁判断
return;
}
......
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