shish vor 1 Jahr
Ursprung
Commit
3626d27ee1
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      app-ghs/controllers/ItemController.php

+ 1 - 1
app-ghs/controllers/ItemController.php

@@ -199,7 +199,7 @@ class ItemController extends BaseController
             }
         }
 
-        $result = ProductClass::getList($field, $where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC]);
+        $result = ProductClass::getList($field, $where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC,'status'=>SORT_ASC]);
         $list = $result['list'] ?? [];
         if ($requestType == 'hasStockList') {
             util::fail('无效方式');