Commit ca7c2437 authored by testshenbd's avatar testshenbd

Merge branch 'linqing' of git.shenbd.com:qm-develop/shenbd into linqing

parents 2113cde8 0d7c0348
......@@ -198,8 +198,8 @@ class OrderServiceModel extends \Business\AbstractModel
$where = array('msg_status'=>2, 'payment_type'=>5, 'shipping_type'=> array('in', array(1, 2)), 'order_state'=>
array('egt', 30), 'prepay_id'=>
array('neq',
''), 'payment_time'=>array('gt', TIMESTAMP-7*24*60*60), 'send_time'=>array('lt', array('lt',
TIMESTAMP-10)));
''), 'payment_time'=>array('gt', TIMESTAMP-7*24*60*60), 'send_time'=>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'))) {
echo $access_token.' order num: '.count($list['list'])."\n";
$common_model = \DAO\Order\OrderCommonModel::getInstance();
......
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