修改订单统计查询
This commit is contained in:
parent
ab9338b2ba
commit
496f20252a
@ -140,7 +140,7 @@ class StoreOrderLogic extends BaseLogic
|
|||||||
*/
|
*/
|
||||||
public function storeOrderCount($storeId, $status)
|
public function storeOrderCount($storeId, $status)
|
||||||
{
|
{
|
||||||
return StoreOrder::where(['store_id' => $storeId, 'status' => $status, 'paid' => 1])->count();
|
return StoreOrder::where(['store_id' => $storeId, 'status' => $status])->count();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user