Просмотр исходного кода

管理后台-财务-财务概况-修改-列表

sunxbiao 1 год назад
Родитель
Сommit
5dd7550a9c
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      app/common/repositories/finance/FinanceRepository.php

+ 3 - 3
app/common/repositories/finance/FinanceRepository.php

@@ -636,7 +636,7 @@ class FinanceRepository extends BaseRepository
636 636
                 })
637 637
                 ->where('epid.deal_type', 1)
638 638
                 ->where("epid.deal_time like '" . $lastDay . "%'")
639
-                ->whereNotIn('uid', [766, 783, 6])
639
+                ->whereNotIn('epid.uid', [766, 783, 6])
640 640
                 ->sum('epid.money');
641 641
             $shouyi = Db::name('user_bill')
642 642
                 ->where($bill_where)
@@ -930,8 +930,8 @@ class FinanceRepository extends BaseRepository
930 930
         }
931 931
 
932 932
 
933
-        $yingyemoney = Db::name('store_order')->where($where)->sum('pay_price');
934
-        $hf_fee_amt = Db::name('store_order')->where($where_order)->sum('hf_fee_amt');//汇付手续费
933
+        $yingyemoney = Db::name('store_order')->where($where)->whereNotIn('uid', [766, 783, 6])->sum('pay_price');
934
+        $hf_fee_amt = Db::name('store_order')->where($where_order)->whereNotIn('uid', [766, 783, 6])->sum('hf_fee_amt');//汇付手续费
935 935
 
936 936
         return compact('yingyemoney', 'hf_fee_amt', 'my_money', 'tixinan', 'ruzhang', 'shouyi', 'jieyu', 
937 937
         'integral', 'yanglao', 'gongxian', 'jingdou', 'hongbao', 'fugou', 'vr', 'suoke', 'pv', 'extract_count', 'extract_wancheng_count', 'extract_shenhezhong_count',