From 7f32961a3e2db0ebf5e8d70eda003d78861b4236 Mon Sep 17 00:00:00 2001 From: xiaoyu Date: Fri, 9 Feb 2024 13:16:22 +0800 Subject: [PATCH] 0209 --- admin/controllers/hdcloud/Clues.php | 5 +++++ home/controllers/Welcome.php | 8 ++++---- market/controllers/api/sylive/GroupsStatistics.php | 4 ++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/admin/controllers/hdcloud/Clues.php b/admin/controllers/hdcloud/Clues.php index 71e77669..8c5aeff5 100644 --- a/admin/controllers/hdcloud/Clues.php +++ b/admin/controllers/hdcloud/Clues.php @@ -92,6 +92,11 @@ class Clues extends HD_Controller 'sa' => '石绿绿', 'mobile' => '14718175658' ), + '101214' => array( + 'biz' => '汕头骏华', + 'sa' => '黎旭', + 'mobile' => '15766613213' + ), ); protected $log_dir; diff --git a/home/controllers/Welcome.php b/home/controllers/Welcome.php index c63d2e0e..3d17997b 100644 --- a/home/controllers/Welcome.php +++ b/home/controllers/Welcome.php @@ -16,11 +16,11 @@ class Welcome extends CI_Controller { //测试地址 //$url = 'https://salespp-sit.hozonauto.com/appservice/app/if/salesclue/createSalesclue'; - $name = '户外小李子'; //客户姓名 - $mobile = '13422926010';//客户手机 + $name = '詹小姐'; //客户姓名 + $mobile = '15813115992';//客户手机 - $comments = '101043'; //门店编码 - $samobile = '15999955547';//销售手机 + $comments = '100832'; //门店编码 + $samobile = '17329610587';//销售手机 $city_id = '350200'; $voId = $city_id . date('mdHis') . sprintf("%06d", rand(1,999999)); diff --git a/market/controllers/api/sylive/GroupsStatistics.php b/market/controllers/api/sylive/GroupsStatistics.php index 2f23d70a..5b91d118 100644 --- a/market/controllers/api/sylive/GroupsStatistics.php +++ b/market/controllers/api/sylive/GroupsStatistics.php @@ -862,7 +862,7 @@ class GroupsStatistics extends BaseController $where = ['activityId' => $activityId, 'itemId' => $itemId, 'cfUserId>' => 0, 'itemId>' => 0]; $count = $this->mdSyliveActivityKpidata->count($where, 'cfUserId'); } else { - $where = ['activityId' => $activityId, 'status>=' => 0]; + $where = ['activityId' => $activityId, 'status' => 0]; $count = $this->mdSyliveGroupsUser->count($where); } if ($count) { @@ -871,7 +871,7 @@ class GroupsStatistics extends BaseController , $page, $limit, "cfUserId,levelId1,levelId2,levelId3,bizId,count(id) as orderTotal"); } else { $res = $this->mdSyliveGroupsUser->select($where, "{$sort_order},groupsUserId desc", $page, $limit, - 'userId as cfUserId,levelId1,levelId2,levelId3,bizId,browse,subscribe,orderTotal,watch'); + 'userId as cfUserId,levelId1,levelId2,levelId3,bizId,browse,subscribe,beforeOrderTotal,orderTotal,watch'); } $groups_ids = $userIds = []; foreach ($res as $v) {