Browse Source

商品销售统计

gorden 4 months ago
parent
commit
0aa126423a
1 changed files with 4 additions and 4 deletions
  1. 4 4
      app/admin/controller/finance/GoodsSalesController.php

+ 4 - 4
app/admin/controller/finance/GoodsSalesController.php

@@ -32,12 +32,12 @@ class GoodsSalesController
         } else {
             $month = date('Ym');
         }
-        
+
         $categorySearchIds = '';
         if (!empty($categoryId)){
             $categorySearchPath = SysCategory::where('category_id',$categoryId)->value('category_super_path');
             $categorySearchPath .= '#'. $categoryId.'#';
-            
+
             $categorySearchIds = SysCategory::where('category_super_path','like',$categorySearchPath.'%')->pluck('category_id')->toArray();
             $categorySearchIds = array_merge($categorySearchIds,[$categoryId]);
             $categorySearchIds = implode(',',$categorySearchIds);
@@ -135,12 +135,12 @@ class GoodsSalesController
         } else {
             $month = date('Ym');
         }
-        
+
         $categorySearchIds = '';
         if (!empty($categoryId)){
             $categorySearchPath = SysCategory::where('category_id',$categoryId)->value('category_super_path');
             $categorySearchPath .= '#'. $categoryId.'#';
-            
+
             $categorySearchIds = SysCategory::where('category_super_path','like',$categorySearchPath.'%')->pluck('category_id')->toArray();
             $categorySearchIds = array_merge($categorySearchIds,[$categoryId]);
             $categorySearchIds = implode(',',$categorySearchIds);