Commit 9284e200 authored by christ's avatar christ

share

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