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

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

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