订单列表返回预售商品

This commit is contained in:
luofei 2024-02-20 18:07:40 +08:00
parent f19be1888d
commit 179b479e31

View File

@ -576,7 +576,7 @@ class StoreOrderRepository extends BaseRepository
}
$where['activity_type'] = $product_type;
if ($source == 103) {
$where['activity_type'] = [0, 98];
$where['activity_type'] = [0, 2, 98];
$where['source'] = [0, 2, 103,105];
}
$noComment = $this->dao->search(['uid' => $uid, 'is_user' => $isUser])->where($this->getOrderType(4))->where($where)->where('StoreOrder.is_del', 0)->count();