From 3a7e39a302868040b4acb85c955e0bbae7ffc845 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Mon, 14 Jul 2025 17:07:49 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20alipay:=20=E8=AE=A2=E5=8D=95=E7=BB=91?= =?UTF-8?q?=E5=AE=9A,=20=E6=9F=A5=E8=AF=A2=E8=AE=A2=E5=8D=95=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/pay/models/Alipay_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webht/third_party/pay/models/Alipay_model.php b/webht/third_party/pay/models/Alipay_model.php index 3c309839..e7b3336e 100644 --- a/webht/third_party/pay/models/Alipay_model.php +++ b/webht/third_party/pay/models/Alipay_model.php @@ -28,7 +28,7 @@ class Alipay_model extends CI_Model { if (empty($result) && ($ordertype == 'T')) { $sql = "SELECT TOP 2 1 as order_type, COLI_SN,COLI_ID,COLI_GRI_SN,OPI_SN,OPI_Email,OPI_FirstName,OPI_Name,COLI_WebCode,COLI_State $fieldsql from ConfirmLineInfo LEFT JOIN OperatorInfo ON COLI_OPI_ID=OPI_SN - where COLI_ID like '%$COLI_ID'"; + where LTRIM(RTRIM(COLI_ID)) like '%$COLI_ID'"; $query = $this->HT->query($sql); $result = $query->result(); }