shish 1 год назад
Родитель
Сommit
e8bc24a8cc
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      biz-ghs/product/services/ProductService.php

+ 1 - 2
biz-ghs/product/services/ProductService.php

@@ -548,7 +548,6 @@ class ProductService extends BaseService
     //下载库存表 ssh 20241028
     public static function generateStockTable($sjId, $level, $mainId = 0)
     {
-        $status = 1;
 
         //获取所有当前供货商的分类
         //根据分类组装分类下的花材信息
@@ -556,7 +555,7 @@ class ProductService extends BaseService
         $classIds = ItemClassClass::getGhsItemClassAll($mainId);
 
         $where['mainId'] = $mainId;
-        $where['status'] = $status;
+        $where['status'] = 1;
         $where['delStatus'] = 0;
         $where['stock>'] = 0;
         $where['virtualStock'] = 0;