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