From aaff926ab0e85d9da92bd48b9c21c68391d9bf1f Mon Sep 17 00:00:00 2001 From: lyt Date: Sat, 14 Sep 2019 00:24:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20PayPal:APP=E7=BB=84=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E4=BA=A4=E6=98=93=E5=8F=B7=E7=9A=84=E6=83=85=E5=86=B5=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/paypal/models/paypal_model.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webht/third_party/paypal/models/paypal_model.php b/webht/third_party/paypal/models/paypal_model.php index 30107875..24f1d2e2 100644 --- a/webht/third_party/paypal/models/paypal_model.php +++ b/webht/third_party/paypal/models/paypal_model.php @@ -163,9 +163,11 @@ class Paypal_model extends CI_Model { SELECT TOP 1 1 FROM BIZ_GroupAccountInfo WHERE GAI_COLI_SN = ? AND DeleteFlag=0 AND GAI_Type='15010' - (GAI_AccreditNo IS NULL AND GAI_SQJE=? ) + and ( + (GAI_AccreditNo IS NULL AND GAI_SQJE=? ) OR (GAI_AccreditNo='$GAI_AccreditNo') + ) ) INSERT INTO BIZ_GroupAccountInfo ( GAI_COLI_SN