|
|
@@ -92,7 +92,7 @@ class Aatest extends Start_Controller {
|
|
|
//定义方法的调用规则 获取URI第二段值
|
|
|
public function _remap($arg,$arg_array)
|
|
|
{
|
|
|
-
|
|
|
+ $this->_tbwaybill();
|
|
|
|
|
|
die;
|
|
|
$fullorder = $this->logic_order->getInfo("number = 'TT-WK-251201-337'");
|
|
|
@@ -283,6 +283,28 @@ class Aatest extends Start_Controller {
|
|
|
exit('No direct script access allowed');
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ private function _tbwaybill(){
|
|
|
+ //发现的是11-19日 为了避免进程被困 切分为
|
|
|
+ // 11-15 到 11-20
|
|
|
+ //11-20 到 11-25
|
|
|
+ //11-25到 12-1
|
|
|
+ //12-1到 12-6
|
|
|
+ //12-6到 12-11
|
|
|
+
|
|
|
+ $start_time = 1763136000;
|
|
|
+ $end_time = 1763568000;
|
|
|
+ $table_name = "fullorder";
|
|
|
+ $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,librarytime')->where($where)->get()->result_array();
|
|
|
+ echo "<pre>";
|
|
|
+ foreach($list as $k=>$v){
|
|
|
+ print_r($v['number']."---".$v['express']."-----".$v['waybill']."----".$v['waybillid']."----".date("Y-m-d H:i:s",$v['librarytime']));
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ }
|
|
|
private function _tbuni(){
|
|
|
|
|
|
// echo "<pre>";
|