瀏覽代碼

Boss的老客户导出

lvhao 3 月之前
父節點
當前提交
ade684426f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/CoreApp/controllers/Boss.php

+ 1 - 1
core/CoreApp/controllers/Boss.php

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