gorden 4 месяцев назад
Родитель
Сommit
0aa126423a
1 измененных файлов с 4 добавлено и 4 удалено
  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);