From a93abccc030584252bab2b4cc93c51262f3096b5 Mon Sep 17 00:00:00 2001 From: lyt Date: Sat, 14 Sep 2019 00:21:32 +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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/webht/third_party/paypal/models/paypal_model.php b/webht/third_party/paypal/models/paypal_model.php index 93d9212e..30107875 100644 --- a/webht/third_party/paypal/models/paypal_model.php +++ b/webht/third_party/paypal/models/paypal_model.php @@ -162,7 +162,10 @@ class Paypal_model extends CI_Model { IF NOT EXISTS( SELECT TOP 1 1 FROM BIZ_GroupAccountInfo - WHERE GAI_COLI_SN = ? AND GAI_SQJE=? AND DeleteFlag=0 AND GAI_Type='15010' + WHERE GAI_COLI_SN = ? AND DeleteFlag=0 AND GAI_Type='15010' + (GAI_AccreditNo IS NULL AND GAI_SQJE=? ) + OR + (GAI_AccreditNo='$GAI_AccreditNo') ) INSERT INTO BIZ_GroupAccountInfo ( GAI_COLI_SN