fix(supplier): 修复提交订单失败时死循环问题

- 在提交订单失败的错误处理后添加break语句
- 避免因错误导致的无限循环
- 提升错误处理的健壮性
This commit is contained in:
danial
2025-12-11 00:26:33 +08:00
parent ff247a4e42
commit bf67c931ef

View File

@@ -587,6 +587,7 @@ func (s *OrderPoolServiceImpl) SubmitOrder(ctx context.Context, task card_sender
}
return fmt.Errorf("提交订单失败: %v", err)
}
break
}
if task.NeedQuery {