This commit is contained in:
邓皓元 2020-01-07 09:15:33 +08:00
parent 1e27e3feb2
commit 41de6838dd
4 changed files with 9 additions and 9 deletions

View File

@ -5,7 +5,7 @@ APP_TIMEZONE=Asia/Shanghai
APP_URL=https://vd.dipp.ink
REQUESTS_DEBU=false
QUERIES_DEBUG=false
QUERIES_DEBUG=true
DB_CONNECTION=pgsql
DB_HOST=pgm-bp18i66d9cq4sywr14830.pg.rds.aliyuncs.com

View File

@ -5,7 +5,7 @@ APP_TIMEZONE=Asia/Shanghai
APP_URL=http://v.denghaoyuan.cn
REQUESTS_DEBU=false
QUERIES_DEBUG=false
QUERIES_DEBUG=true
DB_CONNECTION=pgsql
DB_HOST=127.0.0.1

View File

@ -5,7 +5,7 @@ APP_TIMEZONE=Asia/Shanghai
APP_URL=https://boss.jjicar.com
REQUESTS_DEBU=false
QUERIES_DEBUG=false
QUERIES_DEBUG=true
DB_CONNECTION=pgsql
DB_HOST=pgm-bp18i66d9cq4sywr14830.pg.rds.aliyuncs.com

View File

@ -188,10 +188,10 @@ class PropertyService extends Service
return $item->company_id . '_' . $item->package_id;
})->collect()->toArray();
// $actives = app(OrderCardPartitionRepository::class)->selectRaw('company_id, package_id, count(*) as counts')
// ->withConditions(['type' => 0, 'card_status' => 2])->groupBy(['company_id', 'package_id'])->get()->keyBy(function ($item) {
// return $item->company_id . '_' . $item->package_id;
// })->toArray();
$actives = app(OrderCardPartitionRepository::class)->selectRaw('company_id, package_id, count(*) as counts')
->withConditions(['type' => 0, 'card_status' => 2])->groupBy(['company_id', 'package_id'])->get()->keyBy(function ($item) {
return $item->company_id . '_' . $item->package_id;
})->toArray();
$carrierOperators = app(Dicts::class)->get('carrier_operator');