From b76458bc41440712ef269339856cab09bc527100 Mon Sep 17 00:00:00 2001 From: zhanggucheng Date: Wed, 29 Dec 2021 15:57:54 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BA=91=E4=B8=AD=E5=A6=82=E6=A2=A6?= =?UTF-8?q?=E4=BB=A4=20=E6=89=B6=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Tool/GameResource.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Application/Base/Tool/GameResource.class.php b/Application/Base/Tool/GameResource.class.php index eb5ed12ac..d9f93cc8d 100644 --- a/Application/Base/Tool/GameResource.class.php +++ b/Application/Base/Tool/GameResource.class.php @@ -47,6 +47,8 @@ class GameResource 300 => ZxjClient::class, // 诛神记(苹果版) 303 => SlzqClient::class, // 神灵之契(安卓版) 304 => SlzqClient::class, // 神灵之契(苹果版) + 307 => LeyouClient::class, // 云中如梦令(安卓版) + 308 => LeyouClient::class, // 云中如梦令(苹果版) ]; public function __construct($game) From 588fb81c1ee04a544f5b034014e468f3f005d978 Mon Sep 17 00:00:00 2001 From: zhanggucheng Date: Fri, 31 Dec 2021 17:10:37 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B5=81=E6=B0=B4=E9=A2=84=E8=AD=A6?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/PromoteCompanyWarningController.class.php | 7 +++++-- Application/Admin/View/PromoteCompanyWarning/records.html | 8 ++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Application/Admin/Controller/PromoteCompanyWarningController.class.php b/Application/Admin/Controller/PromoteCompanyWarningController.class.php index b52c5afe7..3090069b5 100644 --- a/Application/Admin/Controller/PromoteCompanyWarningController.class.php +++ b/Application/Admin/Controller/PromoteCompanyWarningController.class.php @@ -29,7 +29,7 @@ class PromoteCompanyWarningController extends ThinkController $month = I('month', ''); $companyId = I('company_id', 0); $isExport = I('is_export', 0); - $isSignContact = I('is_sign_contact', -1); + $isSignContact = I('is_sign_contact', 0); $where = [ '_string' => '1=1 and b.company_id is not null', 'c.company_belong' => ['in', [1, 2]], @@ -47,9 +47,10 @@ class PromoteCompanyWarningController extends ThinkController $monthNumber = date('Ym', strtotime($month.'-01')); $where['b.month'] = $monthNumber; } + $where['c.cooperation_status'] = 1; $joinDataTable = 'tab_company_monthly_data'; - $columns = ['b.company_id', 'c.company_name', 'c.is_sign_contact', 'b.pay_amount']; + $columns = ['b.company_id', 'c.company_name', 'c.is_sign_contact', 'b.pay_amount', 'c.cooperation_status']; $orderBy = 'b.company_id asc'; if ($type == 'total') { $subSql = M('company_monthly_data', 'tab_')->field('company_id')->where(['is_warning' => 1])->select(false); @@ -101,6 +102,7 @@ class PromoteCompanyWarningController extends ThinkController foreach ($items as $key => $item) { $item['month'] = date('Y-m', strtotime($item['month'].'01')); $item['is_sign_contact_text'] = $item['is_sign_contact'] == 1 ? '是' : '否'; + $item['cooperation_status_text'] = $item['cooperation_status'] == 1 ? '合作中' : '终止合作'; $itemPromotes = $companyPromotes[$item['company_id']]; $promoteCount = count($itemPromotes); $index = 0; @@ -125,6 +127,7 @@ class PromoteCompanyWarningController extends ThinkController $item['month'] = date('Y-m', strtotime($item['month'].'01')); } $item['is_sign_contact_text'] = $item['is_sign_contact'] == 1 ? '是' : '否'; + $item['cooperation_status_text'] = $item['cooperation_status'] == 1 ? '合作中' : '终止合作'; $itemPromotes = $companyPromotes[$item['company_id']]; $promoteCount = count($itemPromotes); $index = 0; diff --git a/Application/Admin/View/PromoteCompanyWarning/records.html b/Application/Admin/View/PromoteCompanyWarning/records.html index 451f7e52c..a8cba6780 100644 --- a/Application/Admin/View/PromoteCompanyWarning/records.html +++ b/Application/Admin/View/PromoteCompanyWarning/records.html @@ -104,7 +104,7 @@
@@ -128,13 +128,16 @@ 合作方名称 - 流水金额 + + 累计 + 流水金额 达标月份 会长账号 市场专员 所属市场部 + 合作关系 是否签约 @@ -156,6 +159,7 @@ {$data.account} {$data.market_user_name} {$data.market_department_name} + {$data.cooperation_status_text} 0):?> {$data.is_sign_contact_text}