|
|
@@ -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 ?? '';
|