actives
This commit is contained in:
parent
1e27e3feb2
commit
41de6838dd
2
.env.dev
2
.env.dev
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user