|
|
|
|
@ -1783,7 +1783,7 @@ class Orders_model extends CI_Model {
|
|
|
|
|
and ? between PKP_PersonStart and PKP_PersonStop
|
|
|
|
|
and ? between PKP_ValidDate and PKP_InvalidDate
|
|
|
|
|
and PKP_VEI_SN in (1343,29188,30548)
|
|
|
|
|
order by p.Checked desc, PKP_PriceGrade asc,PKP_ValidDate desc"; // 重复日期的取新的
|
|
|
|
|
order by p.Checked desc, p.PKP_PriceGrade asc,p.PKP_ValidDate desc"; // 重复日期的取新的
|
|
|
|
|
return $this->HT->query($sql, array($code, $person_num, $price_date))->row();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|