fix: 退款未导入修正传统团的查询

feature/pay
lyt 6 years ago
parent 7aac50850d
commit 528bba3c48

@ -366,9 +366,9 @@ class Online_payment_account_model extends CI_Model {
inner join BIZ_ConfirmLineDetail cold on COLD_COLI_SN=COLI_SN and isnull(cold.DeleteFlag,0)=0 inner join BIZ_ConfirmLineDetail cold on COLD_COLI_SN=COLI_SN and isnull(cold.DeleteFlag,0)=0
where COLI_GRI_SN=? where COLI_GRI_SN=?
and COLD_StartDate<?"; and COLD_StartDate<?";
return $this->HT->query($sql, array($gri_sn,$late_date))->num_rows() > 0;
} }
return false; return $this->HT->query($sql, array($gri_sn,$late_date))->num_rows() > 0;
// return false;
} }
/*! /*!

@ -710,8 +710,8 @@ class Paypal_model extends CI_Model {
inner join BIZ_ConfirmLineDetail cold on COLD_COLI_SN=COLI_SN and isnull(cold.DeleteFlag,0)=0 inner join BIZ_ConfirmLineDetail cold on COLD_COLI_SN=COLI_SN and isnull(cold.DeleteFlag,0)=0
where COLI_GRI_SN=? where COLI_GRI_SN=?
and COLD_StartDate<?"; and COLD_StartDate<?";
return $this->HT->query($sql, array($gri_sn,$late_date))->num_rows() > 0;
} }
return false; return $this->HT->query($sql, array($gri_sn,$late_date))->num_rows() > 0;
// return false;
} }
} }

Loading…
Cancel
Save