From 4b21b877847a4e9abe07091b7f8381f7a7c44e98 Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期五, 14 六月 2024 09:24:25 +0800
Subject: [PATCH] no message

---
 CoreCms.Net.Services/baifenbingfa/DistributorDeliveryServices.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/CoreCms.Net.Services/baifenbingfa/DistributorDeliveryServices.cs b/CoreCms.Net.Services/baifenbingfa/DistributorDeliveryServices.cs
index e7e7b7c..c2f751b 100644
--- a/CoreCms.Net.Services/baifenbingfa/DistributorDeliveryServices.cs
+++ b/CoreCms.Net.Services/baifenbingfa/DistributorDeliveryServices.cs
@@ -121,7 +121,7 @@
             }
 
             var oder = await _unitOfWork.GetDbClient().Queryable<CoreCmsOrder>().Where(x=>x.status== (int)GlobalEnumVars.OrderStatus.Normal).Includes(x => x.Orderitems).Where(x => x.orderId == data.orderId).FirstAsync();
-            if(oder != null)
+            if(oder == null)
             {
                 ret.status = false;
                 ret.msg = "璁㈠崟宸茬粡瀹岀粨锛屼笉鍙搷浣�";

--
Gitblit v1.9.1