|
@@ -320,7 +320,7 @@ class StoreService
|
|
|
/** @var \stdClass $store */
|
|
/** @var \stdClass $store */
|
|
|
if (!$store || $store->status != "已入库") return false;
|
|
if (!$store || $store->status != "已入库") return false;
|
|
|
if (Cache::has("owner_fee_details:stores_".$store->id))return true;
|
|
if (Cache::has("owner_fee_details:stores_".$store->id))return true;
|
|
|
- $store->loadMissing(["storeItems","warehouse"]);
|
|
|
|
|
|
|
+ $store->loadMissing(["storeItems.commodity","warehouse"]);
|
|
|
|
|
|
|
|
/** @var OwnerPriceOperationService $service */
|
|
/** @var OwnerPriceOperationService $service */
|
|
|
$service = app("OwnerPriceOperationService");
|
|
$service = app("OwnerPriceOperationService");
|