소스 검색

设备月度运行优化

qiuenguang 1 년 전
부모
커밋
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();