From dc3f39f0b9fdbe5f0824014f94d37c390d5dba45 Mon Sep 17 00:00:00 2001 From: xiaoyu Date: Thu, 19 Jun 2025 15:19:48 +0800 Subject: [PATCH] u_time --- admin/controllers/receiver/Customer.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/controllers/receiver/Customer.php b/admin/controllers/receiver/Customer.php index 7445e919..a435d16b 100644 --- a/admin/controllers/receiver/Customer.php +++ b/admin/controllers/receiver/Customer.php @@ -972,7 +972,7 @@ class Customer extends HD_Controller "sales_p_time" => "分配时间", "dt_time" => "到店时间", "order_time" => "下单时间", - "cont_time" => "最后联系时间", + "u_time" => "最后操作时间", "of_title_1" => "来源1", "of_title_2" => "来源2", "biz_name" => "归属门店", @@ -988,7 +988,7 @@ class Customer extends HD_Controller $status_arr = $this->customers_model->get_status(); unset($status_arr['-1']); if ($count) { - $fileds = "id, name, mobile, level, status, cs_biz_id,brand_id,series_id, FROM_UNIXTIME(c_time) as c_time, if(dt_time>0, dt_time,'') as dt_time, p_time, sales_p_time, if(order_time>0, order_time,'') as order_time, if(cont_time>0, cont_time,'') as cont_time, c_brand, cf_id, of_id, of2_id, (SELECT biz_name FROM `lc_biz` where id = `lc_receiver_customers`.biz_id) as biz_name, (SELECT uname FROM `lc_app_licheb_users` where id = `lc_receiver_customers`.admin_id) as admin_name, biz_id, admin_id, wxqy, wxgr, (select city_name from lc_area where city_id = lc_receiver_customers.city_id limit 1) as city_name, (select county_name from lc_area where county_id = lc_receiver_customers.county_id limit 1) as county_name"; + $fileds = "id, name, mobile, level, status, cs_biz_id,brand_id,series_id, FROM_UNIXTIME(c_time) as c_time, if(dt_time>0, dt_time,'') as dt_time, p_time, sales_p_time, if(order_time>0, order_time,'') as order_time, u_time, c_brand, cf_id, of_id, of2_id, (SELECT biz_name FROM `lc_biz` where id = `lc_receiver_customers`.biz_id) as biz_name, (SELECT uname FROM `lc_app_licheb_users` where id = `lc_receiver_customers`.admin_id) as admin_name, biz_id, admin_id, wxqy, wxgr, (select city_name from lc_area where city_id = lc_receiver_customers.city_id limit 1) as city_name, (select county_name from lc_area where county_id = lc_receiver_customers.county_id limit 1) as county_name"; $rows = $this->customers_model->select($where, 'id desc', $page, $size, $fileds); $brands = $this->auto_brand_model->get_map_by_ids(array_column($rows, 'brand_id')); $series = $this->auto_series_model->get_map_by_ids(array_column($rows, 'series_id')); @@ -1022,7 +1022,7 @@ class Customer extends HD_Controller 'sales_p_time' => $val['sales_p_time'], 'p_time' => $val['p_time'], 'order_time' => $val['order_time'], - 'cont_time' => $val['cont_time'], + 'u_time' => $val['u_time'], 'of_title_1' => $of_title_1, 'of_title_2' => $of_title_2, 'biz_name' => $val['biz_name'],