提交
This commit is contained in:
parent
a9065e6fe8
commit
5ba4690a93
|
|
@ -1487,6 +1487,7 @@ class Statistics extends Base
|
||||||
->leftJoin('goods_list gl', 'ol.goodslist_id = gl.id')
|
->leftJoin('goods_list gl', 'ol.goodslist_id = gl.id')
|
||||||
->leftJoin('order o', 'ol.order_id = o.id')
|
->leftJoin('order o', 'ol.order_id = o.id')
|
||||||
->where('ol.goods_id', $goodsId)
|
->where('ol.goods_id', $goodsId)
|
||||||
|
->where('ol.status', 1)
|
||||||
->where('ol.user_id', $userId)
|
->where('ol.user_id', $userId)
|
||||||
->field([
|
->field([
|
||||||
'ol.id',
|
'ol.id',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user