|
|
@@ -110,11 +110,11 @@ class OrderPackageReceivedSyncService
|
|
|
if (Carbon::now()->lte($initDate)) {//当前时间小于等于初始化时间
|
|
|
//初始化查询一个月的数据,exception为否
|
|
|
$query = $query->where('created_at', '>=', $initDate->subDays((int)config('api_logistic.days'))->toDateTimeString())
|
|
|
- ->where('exception', '否')
|
|
|
+// ->where('exception', '否')
|
|
|
->whereNull('received_at');
|
|
|
} else {//当前时间大于初始化时间,exception为否且未收货
|
|
|
$query = $query->where('created_at', '>=', $initDate->toDateTimeString())
|
|
|
- ->where('exception', '否')
|
|
|
+// ->where('exception', '否')
|
|
|
->whereNull('received_at');
|
|
|
}
|
|
|
return $this->buildData($query->get(), $data);
|