Commit caf937d0 by HTML5-侯张振

no message

parent 24393537
...@@ -488,7 +488,7 @@ class Report extends CI_Controller ...@@ -488,7 +488,7 @@ class Report extends CI_Controller
if($customerId){ if($customerId){
foreach ($customerId as $value) { foreach ($customerId as $value) {
$results = $api->newgetCustomerVisit(array('customer_id'=>$value['rongchuang_id'])); $results = $api->newgetCustomerVisit(array('customer_id'=>$value['rongchuang_id']));
$value['id'] = $this->customer->get_customer_id($value['rongchuang_id']);
if(!empty($results)){ if(!empty($results)){
$entity_id = $this->customer_building->get_building_id($value['id']); $entity_id = $this->customer_building->get_building_id($value['id']);
...@@ -558,7 +558,7 @@ class Report extends CI_Controller ...@@ -558,7 +558,7 @@ class Report extends CI_Controller
if($customerId){ if($customerId){
foreach ($customerId as $value) { foreach ($customerId as $value) {
$results = $api->newgetCustomerPurchase(array('customer_id'=>$value['rongchuang_id'])); $results = $api->newgetCustomerPurchase(array('customer_id'=>$value['rongchuang_id']));
$value['id'] = $this->customer->get_customer_id($value['rongchuang_id']);
if(!empty($results)){ if(!empty($results)){
$entity_id = $this->customer_building->get_building_id($value['id']); $entity_id = $this->customer_building->get_building_id($value['id']);
//记录客户跟进信息 //记录客户跟进信息
...@@ -626,7 +626,7 @@ class Report extends CI_Controller ...@@ -626,7 +626,7 @@ class Report extends CI_Controller
if($customerId){ if($customerId){
foreach ($customerId as $value) { foreach ($customerId as $value) {
$results = $api->newgetCustomerSign(array('customer_id'=>$value['rongchuang_id'])); $results = $api->newgetCustomerSign(array('customer_id'=>$value['rongchuang_id']));
$value['id'] = $this->customer->get_customer_id($value['rongchuang_id']);
if(!empty($results)){ if(!empty($results)){
$entity_id = $this->customer_building->get_building_id($value['id']); $entity_id = $this->customer_building->get_building_id($value['id']);
//记录客户跟进信息 //记录客户跟进信息
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment