Merge pull request 'fix(warehouse): 修正库存数量判断逻辑' (#377) from dev into main
Reviewed-on: #377
This commit is contained in:
commit
3ce3432268
@ -70,7 +70,7 @@ class WarehouseProductStoregeTwoLists extends BaseAdminDataLists implements List
|
||||
return [];
|
||||
}
|
||||
}
|
||||
$this->searchWhere[] = ['nums', '<=', 0];
|
||||
$this->searchWhere[] = ['nums', '<', 0];
|
||||
return WarehouseProductStorege::where($this->searchWhere)
|
||||
->field(['id', 'warehouse_id', 'product_id', 'nums', 'price', 'total_price', 'status'])
|
||||
->limit($this->limitOffset, $this->limitLength)
|
||||
|
Loading…
x
Reference in New Issue
Block a user