|
@@ -157,6 +157,7 @@ class FinanceRepository extends BaseRepository
|
|
157
|
|
157
|
|
|
158
|
// 会员专区订单总数
|
158
|
// 会员专区订单总数
|
|
159
|
//总数
|
159
|
//总数
|
|
|
|
160
|
+ $mer_id = 496;
|
|
160
|
$chengjiaomoney = Db::name('store_order')->where($where)->where('mer_id', 496)->count();
|
161
|
$chengjiaomoney = Db::name('store_order')->where($where)->where('mer_id', 496)->count();
|
|
161
|
$weekCount = Db::name('store_order')->where($weekWhere)->where('mer_id', 496)->count();
|
162
|
$weekCount = Db::name('store_order')->where($weekWhere)->where('mer_id', 496)->count();
|
|
162
|
$todayCount = Db::name('store_order')->where($dayWhere)->where('mer_id', 496)->count();
|
163
|
$todayCount = Db::name('store_order')->where($dayWhere)->where('mer_id', 496)->count();
|
|
@@ -246,7 +247,7 @@ class FinanceRepository extends BaseRepository
|
|
246
|
$list6[] = ['count' => $todayCount, 'name' => '日订单总数'];
|
247
|
$list6[] = ['count' => $todayCount, 'name' => '日订单总数'];
|
|
247
|
|
248
|
|
|
248
|
|
249
|
|
|
249
|
- $data[] = ['className' => 'el-icon-s-goods', 'count' => set_price_rtrim($chengjiaomoney), 'name' => '会员专区订单总数', 'list' => $list1];
|
|
|
|
|
|
250
|
+ $data[] = ['className' => 'el-icon-s-goods', 'count' => set_price_rtrim($chengjiaomoney), 'name' => '会员专区订单总数', 'mer_id' => $mer_id, 'list' => $list1];
|
|
250
|
$data[] = ['className' => 'el-icon-s-goods', 'count' => set_price_rtrim($chengjiaocount), 'name' => '精彩生活区订单总数', 'list' => $list2];
|
251
|
$data[] = ['className' => 'el-icon-s-goods', 'count' => set_price_rtrim($chengjiaocount), 'name' => '精彩生活区订单总数', 'list' => $list2];
|
|
251
|
$data[] = ['className' => 'el-icon-s-goods', 'count' => set_price_rtrim($chengjiaoren), 'name' => '商贸区订单总数', 'list' => $list3];
|
252
|
$data[] = ['className' => 'el-icon-s-goods', 'count' => set_price_rtrim($chengjiaoren), 'name' => '商贸区订单总数', 'list' => $list3];
|
|
252
|
$data[] = ['className' => 'el-icon-s-goods', 'count' => set_price_rtrim($tuikuanmoney), 'name' => '复购区订单总数', 'list' => $list4];
|
253
|
$data[] = ['className' => 'el-icon-s-goods', 'count' => set_price_rtrim($tuikuanmoney), 'name' => '复购区订单总数', 'list' => $list4];
|