Commit 968a48e2 authored by wwccw0591's avatar wwccw0591

更新

parent dc7fa80c
...@@ -198,7 +198,8 @@ class OrderServiceModel extends \Business\AbstractModel ...@@ -198,7 +198,8 @@ class OrderServiceModel extends \Business\AbstractModel
$where = array('msg_status'=>2, 'payment_type'=>5, 'shipping_type'=> array('in', array(1, 2)), 'order_state'=> $where = array('msg_status'=>2, 'payment_type'=>5, 'shipping_type'=> array('in', array(1, 2)), 'order_state'=>
array('egt', 30), 'prepay_id'=> array('egt', 30), 'prepay_id'=>
array('neq', array('neq',
''), 'payment_time'=>array('gt', TIMESTAMP-7*24*60*60)); ''), 'payment_time'=>array('gt', TIMESTAMP-7*24*60*60), 'send_time'=>array('lt', array('lt',
TIMESTAMP-10)));
if($list = $model->getList($where, 'order_id,order_sn,store_id,store_name,buyer_id,order_amount,add_time, send_time, order_state, prepay_id', 0, 10, array('send_time'=>'asc'))) { if($list = $model->getList($where, 'order_id,order_sn,store_id,store_name,buyer_id,order_amount,add_time, send_time, order_state, prepay_id', 0, 10, array('send_time'=>'asc'))) {
echo $access_token.' order num: '.count($list['list'])."\n"; echo $access_token.' order num: '.count($list['list'])."\n";
$common_model = \DAO\Order\OrderCommonModel::getInstance(); $common_model = \DAO\Order\OrderCommonModel::getInstance();
...@@ -311,7 +312,7 @@ class OrderServiceModel extends \Business\AbstractModel ...@@ -311,7 +312,7 @@ class OrderServiceModel extends \Business\AbstractModel
} }
} }
} }
echo "do reciver"; echo "do reciver\n";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment