|
@@ -1612,7 +1612,7 @@ class Boss extends Start_Controller
|
|
|
$m = 0;
|
|
|
foreach ($data as $v) {
|
|
|
$customer = $this->customer->get_email($v['email'], $v['shop']);
|
|
|
- $customernum = $this->fullorder->find_count("$time < '" . ($t + 24 * 3600) . "' and email = '" . $v['email'] . "' and shop = '" . $v['shop'] . "'");
|
|
|
+ $customernum = $this->fullorder->find_count("$time < '" . ($t + 24 * 3600) . "' and email = '" . $v['email'] . "' and shop = '" . $v['shop'] . "' and extra_status = 0 ");
|
|
|
preg_match_all('/[0-9]/u', $v['phone'], $result);
|
|
|
$numphone = join('', $result[0]);
|
|
|
//$customerc = $this->customer->find_all("shop = '".$v['shop']."' and address = '".$v['address']."' and numphone = '".$numphone."'",'*','id desc');
|