Jelajahi Sumber

库存预警

shish 5 tahun lalu
induk
melakukan
d17906be24
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app-ghs/controllers/ProductController.php

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

@@ -130,7 +130,7 @@ class ProductController extends BaseController
                 }
                 $lackIds = array_filter(array_unique($lackIds));
                 $where['id'] = ['in', $lackIds];
-                $respond = ProductClass::getList("*", $where, "actualSold asc");
+                $respond = ProductClass::getList("*", $where, "actualSold desc");
             } else {
                 $respond = ProductClass::getList("*", $where, "inTurn desc");
             }