Commit e174e58d authored by testshenbd's avatar testshenbd

pc

parents 00d9ab3a af2c76e4
...@@ -43,7 +43,7 @@ class AdvMobileModel extends \DAO\AbstractModel{ ...@@ -43,7 +43,7 @@ class AdvMobileModel extends \DAO\AbstractModel{
} }
} }
$result = $this->db->fetchAll(); $result = $this->db->fetchAll();
echo $this->db->getLastSql(); //echo $this->db->getLastSql();
return $result; return $result;
} }
......
...@@ -199,7 +199,8 @@ class StoreModel extends \DAO\AbstractModel ...@@ -199,7 +199,8 @@ 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