lvhao 2 月之前
父节点
当前提交
ab7dabace9
共有 1 个文件被更改,包括 7 次插入3 次删除
  1. 7 3
      core/CoreApp/controllers/Aatest.php

+ 7 - 3
core/CoreApp/controllers/Aatest.php

@@ -109,9 +109,13 @@ class Aatest extends Start_Controller {
     }
 
 	public function _plcl(){
-		$list = $this->fullorder->find_all('state = 207 and express = 76 and librarytime < 1749484816','state,express,number');
-		echo "<pre>";
-		print_r($list);
+		$list = $this->fullorder->find_all('state = 207 and express = 76 and  library = 2 and librarytime < 1749484816','id,state,express,number');
+		// echo "<pre>";
+		// print_r($list);
+		print_r(count($list));
+		var_dump($list[0]['id']);
+		die;
+		$this->fullorder->save(['state'=>216],$list[0]['id']);
 		
 
 	}