ipaylinks退款通知unsend

feature/pay
lyt 6 years ago
parent 83a36c72cf
commit 6fe0fdbadf

@ -197,10 +197,10 @@ class Note_model extends CI_Model {
-- gai.GAI_SN, -- gai.GAI_SN,
-- gaib.GAI_SN, -- gaib.GAI_SN,
-- COLI.COLI_ID,IPL_payType='pay' and -- COLI.COLI_ID,IPL_payType='pay' and
-- when IPL_payType<>'pay' then 10000
case case
when (ISNULL(gaib.GAI_SN, 0)+ISNULL(gai.GAI_SN, 0))>0 then 9999 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' and coli.COLI_ID is not null then 99999
when IPL_payType<>'pay' then 10000
when IPL_sent='closeRecord' then 10000 when IPL_sent='closeRecord' then 10000
else 1 else 1
end isRecord, end isRecord,
@ -287,7 +287,7 @@ class Note_model extends CI_Model {
) )
VALUES VALUES
( (
?,?,?,?,?,?,?,'send',?,?,? ?,?,?,?,?,?,?,'unsend',?,?,?
) )
"; ";
$query = $this->INFO->query($sql, $query = $this->INFO->query($sql,

Loading…
Cancel
Save