feat: PayPal匹配Trippest订单: 增加外部订单和HT订单号:多对一

feature/pay
lyt 6 years ago
parent 8589de4d60
commit 9ef291e6ba

@ -610,7 +610,7 @@ class Paypal_model extends CI_Model {
{
$sql = "SELECT top 1 * from BIZ_ConfirmLineInfo
WHERE 1=1 ";
$tp_order ? $sql.=" and COLI_PriceMemo='$tp_order' " : "";
$tp_order ? $sql.=" and COLI_PriceMemo like '%" . $this->HT->escape_str($tp_order) . "%' " : "";
$real_orderid ? $sql.=" and COLI_ID='$real_orderid' " : "";
return $this->HT->query($sql)->row();
}

Loading…
Cancel
Save