shish %!s(int64=3) %!d(string=hai) anos
pai
achega
576cceb678
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 ?? '';