Browse Source

复粉用户数据处理

houxiaohua 9 months ago
parent
commit
d6de63acb2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/Console/Commands/CustomerUniqueDataDeal.php

+ 2 - 0
app/Console/Commands/CustomerUniqueDataDeal.php

@@ -32,6 +32,8 @@ class CustomerUniqueDataDeal extends Command
32 32
                     $customerList = CustomerDetails::suffix($i)->select(['id', 'uni_customer_label', 'customer_id', 'createtime'])
33 33
                         ->where('id', '>', $this->startId)
34 34
                         ->where('is_new_customer_no_loss', 3)
35
+                        ->where('enable', 1)
36
+                        ->where('loss_status', 1)
35 37
 //                        ->where('createtime', '>=', strtotime($this->startTime))
36 38
                         ->limit($this->limit)->orderBy('id')
37 39
                         ->get();