|
@@ -23,14 +23,13 @@ class orderTest extends PHPUnit_Framework_TestCase
|
|
|
}
|
|
|
public static function testSuccess()
|
|
|
{
|
|
|
-
|
|
|
$model_order = Model('order');
|
|
|
$logic_order = Logic('order');
|
|
|
$condition = array();
|
|
|
$condition['order_state'] = ORDER_STATE_SEND;
|
|
|
$condition['lock_state'] = 0;
|
|
|
//$condition['delay_time'] = array('lt',time() - ORDER_AUTO_RECEIVE_DAY * 86400);
|
|
|
- $condition['order_id'] = 6329;
|
|
|
+ $condition['order_id'] = 6370;
|
|
|
|
|
|
//分批,每批处理100个订单,最多处理5W个订单
|
|
|
$order_list = $model_order->getOrderList($condition, '', '*', 'delay_time asc', 100);
|