|
@@ -69,6 +69,7 @@ class Aatest extends Start_Controller {
|
|
$this->load->_model('Model_message','message');
|
|
$this->load->_model('Model_message','message');
|
|
$this->load->_model('Model_itsxb','itsxb');
|
|
$this->load->_model('Model_itsxb','itsxb');
|
|
$this->load->_model("Model_logic_order","logic_order");
|
|
$this->load->_model("Model_logic_order","logic_order");
|
|
|
|
+ $this->load->_model("Model_job_get3pewaybillid",'job_get3pewaybillid');
|
|
}
|
|
}
|
|
|
|
|
|
//定义方法的调用规则 获取URI第二段值
|
|
//定义方法的调用规则 获取URI第二段值
|
|
@@ -106,13 +107,18 @@ class Aatest extends Start_Controller {
|
|
// //$this->_mdedit($arg_array);
|
|
// //$this->_mdedit($arg_array);
|
|
// }
|
|
// }
|
|
//$this->_print();
|
|
//$this->_print();
|
|
- die;
|
|
|
|
- $time = time() - 10 * 3600 * 24;
|
|
|
|
- //快递为3pe 76 出库时间十天前 waybillid 不能为空
|
|
|
|
- $where = "express = 76 and librarytime >= ".$time ." and waybillid is not null";
|
|
|
|
- $list = $this->fullorder->find_all($where,"id,number,waybill,waybillid,librarytime,express");
|
|
|
|
- echo "<pre>";
|
|
|
|
- print_r($list);
|
|
|
|
|
|
+ // die;
|
|
|
|
+ // $time = time() - 10 * 3600 * 24;
|
|
|
|
+ // //快递为3pe 76 出库时间十天前 waybillid 不能为空
|
|
|
|
+ // $where = "express = 76 and librarytime >= ".$time ." and waybillid is not null";
|
|
|
|
+ // $list = $this->fullorder->find_all($where,"id,number,waybill,waybillid,librarytime,express");
|
|
|
|
+ // echo "<pre>";
|
|
|
|
+ // print_r($list);
|
|
|
|
+ // $res = $this->itsxb->getDetail('QQS-50621-021');
|
|
|
|
+ // echo "<pre>";
|
|
|
|
+ // print_r($res);
|
|
|
|
+ // die;
|
|
|
|
+ $this->get3pewaybillid->do_job();
|
|
}
|
|
}
|
|
|
|
|
|
public function _plcl(){
|
|
public function _plcl(){
|