|
|
@@ -12,7 +12,7 @@ class StatBookClass extends BaseClass
|
|
|
//预订单统计 ssh 20220402
|
|
|
public static function bookOrderAdd($item, $order, $date = null)
|
|
|
{
|
|
|
- $mainId = $item->mainId ?? 0;
|
|
|
+ $mainId = $order->mainId ?? 0;
|
|
|
$itemId = $item->productId ?? 0;
|
|
|
$ptItemId = $item->itemId ?? 0;
|
|
|
//预订单只会有大单位
|