|
@@ -92,13 +92,6 @@ class Aatest extends Start_Controller {
|
|
|
//定义方法的调用规则 获取URI第二段值
|
|
//定义方法的调用规则 获取URI第二段值
|
|
|
public function _remap($arg,$arg_array)
|
|
public function _remap($arg,$arg_array)
|
|
|
{
|
|
{
|
|
|
- $this->_tbwaybill();
|
|
|
|
|
- die;
|
|
|
|
|
- $info = $this->logic_order->getInfo("orderinfo = '577214984732905547'");
|
|
|
|
|
- $shop = $this->shop->read($info['shop']);
|
|
|
|
|
- $res = $this->apitt->get_data(['577214984732905547'],$shop);
|
|
|
|
|
- echo "<pre>";
|
|
|
|
|
- print_r($res);
|
|
|
|
|
die;
|
|
die;
|
|
|
$fullorder = $this->logic_order->getInfo("number = 'TT-WK-251201-337'");
|
|
$fullorder = $this->logic_order->getInfo("number = 'TT-WK-251201-337'");
|
|
|
$this->express_tt->get_data($fullorder,"CBT");;
|
|
$this->express_tt->get_data($fullorder,"CBT");;
|
|
@@ -291,6 +284,7 @@ class Aatest extends Start_Controller {
|
|
|
|
|
|
|
|
|
|
|
|
|
private function _tbwaybill(){
|
|
private function _tbwaybill(){
|
|
|
|
|
+ die;
|
|
|
//发现的是11-19日 为了避免进程被困 切分为
|
|
//发现的是11-19日 为了避免进程被困 切分为
|
|
|
// 11-15 到 11-20
|
|
// 11-15 到 11-20
|
|
|
//11-20 到 11-25
|
|
//11-20 到 11-25
|
|
@@ -298,8 +292,8 @@ class Aatest extends Start_Controller {
|
|
|
//12-1到 12-6
|
|
//12-1到 12-6
|
|
|
//12-6到 12-11
|
|
//12-6到 12-11
|
|
|
|
|
|
|
|
- $start_time = 1764864000;
|
|
|
|
|
- $end_time = 1764950400 ;
|
|
|
|
|
|
|
+ $start_time = 1763136000;
|
|
|
|
|
+ $end_time = 1763568000;
|
|
|
$table_name = "fullorder";
|
|
$table_name = "fullorder";
|
|
|
$where = "librarytime >= ".$start_time ." and librarytime <= ".$end_time." and ( (express = 76) or (express = 77))";
|
|
$where = "librarytime >= ".$start_time ." and librarytime <= ".$end_time." and ( (express = 76) or (express = 77))";
|
|
|
$list = $this->db->from($table_name)->select('id,orderinfo,number,express,waybill,waybillid,printnumber,librarytime')->where($where)->get()->result_array();
|
|
$list = $this->db->from($table_name)->select('id,orderinfo,number,express,waybill,waybillid,printnumber,librarytime')->where($where)->get()->result_array();
|