Commit 548e8e53 authored by zhuwei's avatar zhuwei

1

parent d331d1a9
......@@ -160,15 +160,15 @@ class UserService
//具体业态 修改记录
if (!empty($data['concrete_industry']) && ($data['concrete_industry'] != $concrete_industry_old)) {
$this->userFieldChangeLog($this->operation_id,$id,$concrete_industry_old,$data['concrete_industry'],'entrust_type');
$this->userFieldChangeLog($this->operation_id,$id,$concrete_industry_old,$data['concrete_industry'],'concrete_industry');
}
//价格需求 修改记录
if (!empty($data['price_demand']) && ($data['price_demand'] != $price_demand_old)) {
$this->userFieldChangeLog($this->operation_id,$id,$price_demand_old,$data['price_demand'],'entrust_type');
$this->userFieldChangeLog($this->operation_id,$id,$price_demand_old,$data['price_demand'],'price_demand');
}
//面积需求 修改记录
if (!empty($data['area_demand']) && ($data['area_demand'] != $area_demand_old)) {
$this->userFieldChangeLog($this->operation_id,$id,$area_demand_old,$data['area_demand'],'entrust_type');
$this->userFieldChangeLog($this->operation_id,$id,$area_demand_old,$data['area_demand'],'area_demand');
}
//更新业绩统计
$agent = new AAgents();
......@@ -224,6 +224,7 @@ class UserService
$entrust_type_str =array(0=>'找铺',1=>'找办公楼');//0找铺 1找办公楼
$remark = "客户委托类型被【{$agent_data['name']}】由【{$entrust_type_str[$field_old]}】修改为【{$entrust_type_str[$field_old_new]}】";
$this->operating_records($this->operation_id, 9, $remark, $user_id);
break;
//具体业态
case 'concrete_industry':
$remark = "客户具体业态被【{$agent_data['name']}】由【{$field_old}】修改为【{$field_old_new}】";
......
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