|
|
@@ -114,7 +114,7 @@ class Table_index_day_k extends Table {
|
|
|
* @return array
|
|
|
* wanggangtao
|
|
|
*/
|
|
|
- public function getIndexListHistroy($code,$start_date,$end_date,$traceback_days,$order_info)
|
|
|
+ public function getIndexListHistroy($code,$start_date,$end_date,$order_info)
|
|
|
{
|
|
|
//查询语句必须用sql_check_input检查参数
|
|
|
$stock_code= $this->pdo->sql_check_input(array('string', $code));
|
|
|
@@ -134,10 +134,6 @@ class Table_index_day_k extends Table {
|
|
|
}
|
|
|
$sql.=$order;
|
|
|
|
|
|
- $limit=" limit ".$traceback_days;
|
|
|
- $sql.=$limit;
|
|
|
-
|
|
|
-
|
|
|
$rs = $this->pdo->sqlQuery($sql);
|
|
|
$r = array();
|
|
|
if($rs){
|