Commit 00d9ab3a authored by testshenbd's avatar testshenbd

pc

parent 080fe413
...@@ -199,8 +199,7 @@ class StoreModel extends \DAO\AbstractModel ...@@ -199,8 +199,7 @@ class StoreModel extends \DAO\AbstractModel
$result = $this->db->select($field)->from($this->_tableName)->where($where)->limit($limit[0],$limit[1])->fetchAll(); $result = $this->db->select($field)->from($this->_tableName)->where($where)->limit($limit[0],$limit[1])->fetchAll();
}else{ }else{
$result = $this->db->select($field)->from($this->_tableName)->where($where)->fetchAll(); $result = $this->db->select($field)->from($this->_tableName)->where($where)->fetchAll();
} }
echo $this->db->getLastSql();
return $result; return $result;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment