shish il y a 3 ans
Parent
commit
8ed99e68ea
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      app-hd/controllers/StatKindController.php

+ 2 - 2
app-hd/controllers/StatKindController.php

@@ -36,7 +36,7 @@ class StatKindController extends BaseController
 
         $mainId = $this->mainId;
 
-        $kindList = KindClass::getAllByCondition(['mainId' => $mainId, 'flower' => 1, 'delStatus' => 0, 'status' => 1], null, '*', 'id');
+        $kindList = KindClass::getAllByCondition(['mainId' => $mainId, 'flower' => 1], null, '*', 'id');
 
         $kindStat = [];
 
@@ -160,7 +160,7 @@ class StatKindController extends BaseController
 
         $mainId = $this->mainId;
 
-        $kindList = KindClass::getAllByCondition(['mainId' => $mainId, 'flower' => 1, 'delStatus' => 0, 'status' => 1], null, '*', 'id');
+        $kindList = KindClass::getAllByCondition(['mainId' => $mainId, 'flower' => 0], null, '*', 'id');
 
         $kindStat = [];