Browse Source

排程工单

qiuenguang 1 year ago
parent
commit
7f63976733
1 changed files with 3 additions and 2 deletions
  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',
                     'b.Gy0_sj1' => '1900-01-01 00:00:00',
                     'c.状态' => '',
                     'c.状态' => '',
                 ])
                 ])
+                ->where("
+                        b.Gy0_sj1 <> '1900-01-01 00:00:00' 
+                    ")
                 ->where($where)
                 ->where($where)
-                ->cache(true,720)
                 ->group('a.Gd_gdbh')
                 ->group('a.Gd_gdbh')
                 ->select();
                 ->select();
         }else{
         }else{
@@ -231,7 +233,6 @@ class Manufacture extends Api
                     'c.状态' => '',
                     'c.状态' => '',
                 ])
                 ])
                 ->where($where)
                 ->where($where)
-                ->cache(true,720)
                 ->group('a.Gd_gdbh')
                 ->group('a.Gd_gdbh')
                 ->select();
                 ->select();
         }
         }