소스 검색

排程工单

qiuenguang 1 년 전
부모
커밋
7f63976733
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      application/api/controller/Manufacture.php

+ 3 - 2
application/api/controller/Manufacture.php

@@ -201,8 +201,10 @@ class Manufacture extends Api
                     'b.Gy0_sj1' => '1900-01-01 00:00:00',
                     'c.状态' => '',
                 ])
+                ->where("
+                        b.Gy0_sj1 <> '1900-01-01 00:00:00' 
+                    ")
                 ->where($where)
-                ->cache(true,720)
                 ->group('a.Gd_gdbh')
                 ->select();
         }else{
@@ -231,7 +233,6 @@ class Manufacture extends Api
                     'c.状态' => '',
                 ])
                 ->where($where)
-                ->cache(true,720)
                 ->group('a.Gd_gdbh')
                 ->select();
         }