cqp 1 周之前
父节点
当前提交
e5ecca9585
共有 1 个文件被更改,包括 0 次插入10 次删除
  1. 0 10
      app/Service/StatisticsService.php

+ 0 - 10
app/Service/StatisticsService.php

@@ -878,11 +878,6 @@ class StatisticsService extends Service
         //线下 销售订单类型
         $model_type = SalesOrder::Model_type_one;
 
-        //特殊的门店
-        $setting = Setting::where('setting_name','bt_top_depart_id')->first();
-        $bt_top_depart_id = $setting['setting_value'] ?? [];
-        $bt_top_depart_id = json_decode($bt_top_depart_id,true);
-
         $sale_order = SalesOrder::where("del_time",0)
             ->where('crt_time','>=',$return[0])
             ->where('crt_time','<=',$return[1])
@@ -1018,11 +1013,6 @@ class StatisticsService extends Service
         //线下 销售订单类型
         $model_type = SalesOrder::Model_type_four;
 
-        //特殊的门店
-        $setting = Setting::where('setting_name','bt_top_depart_id')->first();
-        $bt_top_depart_id = $setting['setting_value'] ?? [];
-        $bt_top_depart_id = json_decode($bt_top_depart_id,true);
-
         $sale_order = SalesOrder::where("del_time",0)
             ->where('crt_time','>=',$return[0])
             ->where('crt_time','<=',$return[1])