From 860b83b8733b978f76b3662d91e852cf2df2638f Mon Sep 17 00:00:00 2001 From: fyf Date: Sat, 14 May 2022 13:19:48 +0800 Subject: [PATCH] 333 --- DataVApi.Order/OrderProvider.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DataVApi.Order/OrderProvider.cs b/DataVApi.Order/OrderProvider.cs index c6a5bcb..e9b300f 100644 --- a/DataVApi.Order/OrderProvider.cs +++ b/DataVApi.Order/OrderProvider.cs @@ -30,7 +30,7 @@ FROM BPA_Organize AS a JOIN BPA_Order AS b ON a.Id= b.OrgId WHERE - ( b.PayMode= 1 OR b.PayMode= 4 ) + b.PayMode <= 4 AND ( b.TransactionId IS NOT NULL OR b.TransactionId != '' ) AND ( b.TradeNo IS NOT NULL OR b.TradeNo != '' )"); if (input.OrgId.HasValue) @@ -181,7 +181,7 @@ FROM BPA_Organize AS a JOIN BPA_Order AS b ON a.Id= b.OrgId WHERE - ( b.PayMode= 1 OR b.PayMode= 4 ) + b.PayMode <= 4 AND ( b.TransactionId IS NOT NULL OR b.TransactionId != '' ) AND ( b.TradeNo IS NOT NULL OR b.TradeNo != '' )");