Browse Source

工单超节损

qiuenguang 1 year ago
parent
commit
af72aaa31f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/OrderSuperLoss.php

+ 1 - 1
application/api/controller/OrderSuperLoss.php

@@ -67,7 +67,7 @@ class OrderSuperLoss extends Api
                 'COUNT(DISTINCT Gy0_gdbh) AS count'
             ])
             ->group('编号, date')
-            ->order('date DESC,编号')
+            ->order('编号')
             ->select();
         // 创建一个新数组来存储整理后的数据
         $organizedData = [];