소스 검색

更改排序

wufeng 2 년 전
부모
커밋
5adaf9aebf
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/admin/controller/Report.php

+ 1 - 0
app/admin/controller/Report.php

@@ -492,6 +492,7 @@ class Report extends Base
             ->field('id,DATE_FORMAT(addtime, "%Y-%m-%d") addtime,cgder_id,cgder,total_fee,status,good_num,supplierNo,0 wait_total_fee,0 wait_good_num,0 count_num')
             ->where($where)
             ->select()
+            ->order('addtime desc,cgder_id')
             ->toArray();
 //            ->buildSql();