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']);
 		
 
 	}