Commit 3caee452 authored by zhz's avatar zhz

report

parent 72afea1d
...@@ -26,7 +26,7 @@ class ReportRestoreModel extends \DAO\AbstractModel { ...@@ -26,7 +26,7 @@ class ReportRestoreModel extends \DAO\AbstractModel {
} }
public function getList(){ public function getList(){
$this->setDb(); $this->setDb();
return $this->db->select('restore_id AS reasonId,restore_info AS restoreInfo,restore_describe AS restoreDescribe')->from($this->_tableName)->order('sort','DESC')->fetchAll(); return $this->db->select('restore_id AS reasonId,restore_info AS restoreInfo,restore_describe AS restoreDescribe')->from($this->_tableName)->order('sort','ASC')->fetchAll();
} }
/** /**
......
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