diff --git a/crmeb/app/dao/shipping/ExpressDao.php b/crmeb/app/dao/shipping/ExpressDao.php index 419e1ac98..c744c2899 100644 --- a/crmeb/app/dao/shipping/ExpressDao.php +++ b/crmeb/app/dao/shipping/ExpressDao.php @@ -42,7 +42,7 @@ class ExpressDao extends BaseDao */ public function getExpressList(array $where, string $field, int $page, int $limit) { - return $this->search($where)->field($field)->order('sort DESC,is_show DESC') + return $this->search($where)->field($field)->order('sort DESC,is_show DESC,id ASC') ->when($page > 0 && $limit > 0, function ($query) use ($page, $limit) { $query->page($page, $limit); })->select()->toArray();