Commit 8645a2ec authored by christ's avatar christ

share

parent 9284e200
......@@ -128,7 +128,7 @@ class OrderServiceModel extends \Business\AbstractModel
$where['shipping_type']=array('eq',ApiConst::bySeller);
$where['order_state'] =array('in',array(ApiConst::orderStateWaitSend,ApiConst::orderStateWaitRecieve));
}elseif($orderState==ApiConst::orderStateWaitSendOne || $orderState==ApiConst::orderStateWaitRecieve ){
$where['shipping_type']=array('eq',ApiConst::bySelf);
$where['shipping_type']=array('eq',ApiConst::bySeller);
$where['order_state']=array('eq',ApiConst::orderStateWaitRecieve);
}else{
$where['order_state'] = array('eq', $orderState);
......
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