Commit e174e58d authored by testshenbd's avatar testshenbd

pc

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