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,