This commit is contained in:
xiaoyu
2024-01-19 12:55:48 +08:00
parent c9d91bc787
commit b65c70675a
2 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -16,11 +16,11 @@ class Welcome extends CI_Controller {
//测试地址
//$url = 'https://salespp-sit.hozonauto.com/appservice/app/if/salesclue/createSalesclue';
$name = '其实很不容易'; //客户姓名
$mobile = '17326663918';//客户手机
$name = '陈勇'; //客户姓名
$mobile = '18750820518';//客户手机
$comments = '100231'; //门店编码
$samobile = '18659197547';//销售手机
$comments = '100958'; //门店编码
$samobile = '17758949069';//销售手机
$city_id = '350200';
$voId = $city_id . date('mdHis') . sprintf("%06d", rand(1,999999));
@@ -579,8 +579,8 @@ class GroupsStatistics extends BaseController
}
$orderTotal = $this->mdSyliveActivityKpidata->count($where_order);
}
$consultant = $this->mdSyliveActivityKpidata->count(['bizId' => $bizId, 'activityId' => $activityId], 'cfUserId');
$allConsultant = $this->mdSyliveGroupsUser->count(['bizId' => $bizId, 'activityId' => $activityId, 'status>=' => 0]);
$consultant = $this->mdSyliveActivityKpidata->count(['bizId' => $bizId, 'activityId' => $activityId, "cfUserId in (SELECT userId FROM lc_market_sylive_groups_user WHERE activityId = {$activityId} and status = 0)" => null], 'cfUserId');
$allConsultant = $this->mdSyliveGroupsUser->count(['bizId' => $bizId, 'activityId' => $activityId, 'status' => 0]);
$consultant > $allConsultant && $allConsultant = $consultant;
$livePV = $watchDuration = 0;
if ($channelId) {