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