wufeng hace 2 años
padre
commit
b2e842d2c5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/admin/controller/Report.php

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

@@ -491,8 +491,8 @@ class Report extends Base
         $rs = Db::name('purchease_order')
             ->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')
+            ->select()
             ->toArray();
 //            ->buildSql();