lvhao 6 hari lalu
induk
melakukan
c528560f47
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      core/CoreApp/controllers/Apicjgx.php

+ 1 - 1
core/CoreApp/controllers/Apicjgx.php

@@ -34,7 +34,7 @@ class Apicjgx extends Start_Controller {
 
 
     public function _cjgx(){
     public function _cjgx(){
         $limit_time = time() - 3600*24*30;
         $limit_time = time() - 3600*24*30;
-        $list = $this->systemtransfer->find_all("status < 10 and time >= ".$limit_time);
+        $list = $this->systemtransfer->find_all(" ycrk_type = 0 and status < 10 and time >= ".$limit_time);
         if(empty($list)){
         if(empty($list)){
             die(json_encode(array('code'=>0,'msg'=>'没有需要检测的工单'),JSON_UNESCAPED_UNICODE));
             die(json_encode(array('code'=>0,'msg'=>'没有需要检测的工单'),JSON_UNESCAPED_UNICODE));
         }
         }