diff --git a/crmeb/app/dao/system/config/SystemConfigDao.php b/crmeb/app/dao/system/config/SystemConfigDao.php index 8afaf35d0..ea4f414eb 100644 --- a/crmeb/app/dao/system/config/SystemConfigDao.php +++ b/crmeb/app/dao/system/config/SystemConfigDao.php @@ -84,7 +84,7 @@ class SystemConfigDao extends BaseDao { $where['tab_id'] = $tabId; 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(); } /**