From bf368bcd26fa18941841219b8ae9c7ca937f9310 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Tue, 15 Apr 2025 15:09:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8F=98=E6=9B=B4order=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/sam/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sam/services.py b/apps/sam/services.py index 833cb227..488a07f8 100644 --- a/apps/sam/services.py +++ b/apps/sam/services.py @@ -27,7 +27,7 @@ class SamService: orderitem.save() # 更新order的状态 qs = OrderItem.objects.filter( - order=order, count__lte=F('delivered_count')) + order=order, count__gte=F('delivered_count')) order_state = Order.ORDER_DOING if qs.exists(): pass