Prechádzať zdrojové kódy

配置列表排序处理

evoxwht 2 rokov pred
rodič
commit
3ab4ee9287

+ 1 - 1
crmeb/app/dao/system/config/SystemConfigDao.php

@@ -84,7 +84,7 @@ class SystemConfigDao extends BaseDao
     {
     {
         $where['tab_id'] = $tabId;
         $where['tab_id'] = $tabId;
         if ($status == 1) $where['status'] = $status;
         if ($status == 1) $where['status'] = $status;
-        return $this->search($where)->order('sort desc,id DESC')->select()->toArray();
+        return $this->search($where)->order('sort desc,id ASC')->select()->toArray();
     }
     }
 
 
     /**
     /**