Customers_610_2
This commit is contained in:
@@ -729,7 +729,7 @@ class Customers extends Wxapp
|
||||
$re_vis = $this->mdCustomerVisitData->get($where_vis);
|
||||
if (!$re_vis) {
|
||||
//删除未回访计划
|
||||
$this->mdCustomerVisitData->delete(['c_id' => $id, 'biz_id' => $biz_id, 'status<>' => 2, 't_day >=' => $visit_time]);
|
||||
$this->mdCustomerVisitData->delete(['c_id' => $id, 'biz_id' => $biz_id, 'status<>' => 2, 't_day >=' => date('Y-m-d')]);
|
||||
$where_vis['level'] = $level;
|
||||
$where_vis['c_time'] = time();
|
||||
$this->mdCustomerVisitData->add($where_vis);
|
||||
|
||||
Reference in New Issue
Block a user