['between',[$startTime,$endTime]], 'status'=>['in',[\app\common\constant\order\Status::STATUS_PAID,\app\common\constant\order\Status::STATUS_UNRECEIVE,\app\common\constant\order\Status::STATUS_UNSEND,\app\common\constant\order\Status::STATUS_SUREUNRECEIVE,\app\common\constant\order\Status::STATUS_SUCCESS]] ])->group('user_id') ->count(); } }