Browse Source

333

master
fyf 2 years ago
parent
commit
860b83b873
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      DataVApi.Order/OrderProvider.cs

+ 2
- 2
DataVApi.Order/OrderProvider.cs View File

@@ -30,7 +30,7 @@ FROM
BPA_Organize AS a BPA_Organize AS a
JOIN BPA_Order AS b ON a.Id= b.OrgId JOIN BPA_Order AS b ON a.Id= b.OrgId
WHERE WHERE
( b.PayMode= 1 OR b.PayMode= 4 )
b.PayMode <= 4
AND ( b.TransactionId IS NOT NULL OR b.TransactionId != '' ) AND ( b.TransactionId IS NOT NULL OR b.TransactionId != '' )
AND ( b.TradeNo IS NOT NULL OR b.TradeNo != '' )"); AND ( b.TradeNo IS NOT NULL OR b.TradeNo != '' )");
if (input.OrgId.HasValue) if (input.OrgId.HasValue)
@@ -181,7 +181,7 @@ FROM
BPA_Organize AS a BPA_Organize AS a
JOIN BPA_Order AS b ON a.Id= b.OrgId JOIN BPA_Order AS b ON a.Id= b.OrgId
WHERE WHERE
( b.PayMode= 1 OR b.PayMode= 4 )
b.PayMode <= 4
AND ( b.TransactionId IS NOT NULL OR b.TransactionId != '' ) AND ( b.TransactionId IS NOT NULL OR b.TransactionId != '' )
AND ( b.TradeNo IS NOT NULL OR b.TradeNo != '' )"); AND ( b.TradeNo IS NOT NULL OR b.TradeNo != '' )");




Loading…
Cancel
Save