|
@@ -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();
|