消费统计订单管理

This commit is contained in:
“wanyongkang”
2021-03-20 13:47:59 +08:00
parent 2258c9ff9f
commit 5960e20f52

View File

@@ -216,6 +216,7 @@ class ProductOrder extends Model
return $this->field('UpdateTime,OrderNo,OrderType,ProductName,PackageName,PaymentAmount,Accounts,ConnectCount,AccountCount,PayType,DayPrice as OrderAmount')
->where(['UserId' => $user_id])
->where($where)
->where(['OrderState' => ['in', ProductOrderEnum::$PayComplete]])
->order('Id desc')
->fetchAll();
}