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