From 6fe0fdbadfbcf84c5e3ec3bccf58c9d71bfaab42 Mon Sep 17 00:00:00 2001 From: lyt Date: Wed, 15 May 2019 11:58:16 +0800 Subject: [PATCH] =?UTF-8?q?ipaylinks=E9=80=80=E6=AC=BE=E9=80=9A=E7=9F=A5un?= =?UTF-8?q?send?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/pay/models/note_model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webht/third_party/pay/models/note_model.php b/webht/third_party/pay/models/note_model.php index 37c43624..8f5fc052 100644 --- a/webht/third_party/pay/models/note_model.php +++ b/webht/third_party/pay/models/note_model.php @@ -197,10 +197,10 @@ class Note_model extends CI_Model { -- gai.GAI_SN, -- gaib.GAI_SN, -- COLI.COLI_ID,IPL_payType='pay' and + -- when IPL_payType<>'pay' then 10000 case when (ISNULL(gaib.GAI_SN, 0)+ISNULL(gai.GAI_SN, 0))>0 then 9999 when IPL_payType='pay' and coli.COLI_ID is not null then 99999 - when IPL_payType<>'pay' then 10000 when IPL_sent='closeRecord' then 10000 else 1 end isRecord, @@ -287,7 +287,7 @@ class Note_model extends CI_Model { ) VALUES ( - ?,?,?,?,?,?,?,'send',?,?,? + ?,?,?,?,?,?,?,'unsend',?,?,? ) "; $query = $this->INFO->query($sql,