Commit 9071bd87 authored by christ's avatar christ

ccw:master_dev

parent d00ccf23
......@@ -412,13 +412,18 @@ class RefundServiceModel extends \Business\AbstractModel
// $where['store_id'] = $storeId;
// $where['order_lock'] = 2;
$order = array('add_time' => 'desc');
if($type==ApiConst::refundSellerVerify){
$where=$refundReturnDao->getProccessOrderBySeller($storeId);
}
if($type==ApiConst::refundSellerAgree){
$where=$refundReturnDao->getReturnWaitReceive($storeId);
$order= array('receive_time'=> 'asc');
if($type==ApiConst::zero){
$where['store_id'] = $storeId;
}else{
if($type==ApiConst::refundSellerVerify){
$where=$refundReturnDao->getProccessOrderBySeller($storeId);
}
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));
$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