qiuenguang 11 месяцев назад
Родитель
Сommit
ed0ce84029
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      application/api/controller/Decision.php

+ 1 - 1
application/api/controller/Decision.php

@@ -236,7 +236,7 @@ class Decision extends Api
                 'rtrim(d.版距)' => '版距'
             ])
             ->where($where)
-            ->whereTime('b.sczl_rq', $mouth)
+            ->where('b.sczl_rq','like', $mouth.'%')
             ->group('a.设备编号')
             ->order('a.设备编号')
             ->select();