Commit 9071bd87 authored by christ's avatar christ

ccw:master_dev

parent d00ccf23
...@@ -412,13 +412,18 @@ class RefundServiceModel extends \Business\AbstractModel ...@@ -412,13 +412,18 @@ class RefundServiceModel extends \Business\AbstractModel
// $where['store_id'] = $storeId; // $where['store_id'] = $storeId;
// $where['order_lock'] = 2; // $where['order_lock'] = 2;
$order = array('add_time' => 'desc'); $order = array('add_time' => 'desc');
if($type==ApiConst::refundSellerVerify){ if($type==ApiConst::zero){
$where=$refundReturnDao->getProccessOrderBySeller($storeId); $where['store_id'] = $storeId;
} }else{
if($type==ApiConst::refundSellerAgree){ if($type==ApiConst::refundSellerVerify){
$where=$refundReturnDao->getReturnWaitReceive($storeId); $where=$refundReturnDao->getProccessOrderBySeller($storeId);
$order= array('receive_time'=> 'asc'); }
if($type==ApiConst::refundSellerAgree){
$where=$refundReturnDao->getReturnWaitReceive($storeId);
$order= array('receive_time'=> 'asc');
}
} }
//获得售后列表 //获得售后列表
$refundReturns = \Our\RedisHelper::cachedFunction(\Redis\Db5\OrderRedisModel::getInstance(), array(&$refundReturnDao, 'getList'), array($where, $this->storeRefundReturnField, $pageIndex, $pageSize,$order), \Our\ApiConst::oneDaySecond, array($storeId)); $refundReturns = \Our\RedisHelper::cachedFunction(\Redis\Db5\OrderRedisModel::getInstance(), array(&$refundReturnDao, 'getList'), array($where, $this->storeRefundReturnField, $pageIndex, $pageSize,$order), \Our\ApiConst::oneDaySecond, array($storeId));
$orderGoodsId = array_column($refundReturns['list'], 'orderGoodsId'); $orderGoodsId = array_column($refundReturns['list'], 'orderGoodsId');
......
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