From adeb0dcaf37ed93122831263066dc55304eacc25 Mon Sep 17 00:00:00 2001 From: lyt Date: Mon, 13 Jan 2020 15:13:08 +0800 Subject: [PATCH] =?UTF-8?q?feat:PayPal=E6=9F=A5=E7=9C=8B=E5=BD=95=E5=85=A5?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E5=A2=9E=E5=8A=A0APP=E7=9A=84Memo=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E4=BA=A4=E6=98=93=E5=8F=B7?= 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, 2 insertions(+), 2 deletions(-) diff --git a/webht/third_party/paypal/models/paypal_model.php b/webht/third_party/paypal/models/paypal_model.php index 17f06f3b..f31216f9 100644 --- a/webht/third_party/paypal/models/paypal_model.php +++ b/webht/third_party/paypal/models/paypal_model.php @@ -570,9 +570,9 @@ class Paypal_model extends CI_Model { public function get_money_b($pn_invoice) { $sql = "SELECT BIZ_GroupAccountInfo.* from BIZ_GroupAccountInfo - where DeleteFlag=0 and GAI_AccreditNo=? + where DeleteFlag=0 and ( GAI_AccreditNo=? or GAI_Memo=? ) "; - $query = $this->HT->query($sql, array($pn_invoice)); + $query = $this->HT->query($sql, array($pn_invoice, $pn_invoice)); $result = $query->result(); return $result; }