shish 3 лет назад
Родитель
Сommit
576cceb678
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-hd/controllers/StatKindController.php

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

@@ -166,7 +166,7 @@ class StatKindController extends BaseController
 
         $where = ['mainId' => $mainId, 'status' => 1];
         $where['entryTime'] = ['between', [$currentStartTime, $currentEndTime]];
-        $lzList = PlantCgClass::getAllByCondition([$where], null, '*', null, true);
+        $lzList = PlantCgClass::getAllByCondition($where, null, '*', null, true);
         if (!empty($lzList)) {
             foreach ($lzList as $lz) {
                 $orderSn = $lz->orderSn ?? '';