刘桂岩 4 years ago
parent
commit
364751d90b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/manage/controller/Institution.php

+ 1 - 1
application/manage/controller/Institution.php

@@ -55,7 +55,7 @@ class Institution extends Base {
         if (empty($pagesize) || $pagesize < 1) {
             $pagesize = 30;
         }
-        $rs = Db::table("institution")->where($whereArr)->page($page, $pagesize)->select();
+        $rs = Db::table("institution")->where($whereArr)->page($page, $pagesize)->order('createdAt asc')->select();
         $num = Db::table("institution")->where($whereArr)->count();
         $data['total'] = $num;
         $data['rows'] = $rs;