Commit 369a8d07 authored by zhz's avatar zhz

Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into master_dev

parents 665d3080 3bce11ed
......@@ -53,7 +53,7 @@ class OrderServiceModel extends \Business\AbstractModel
private function getGoodsDetailField()
{
return $this->orderGoodsField . ',goods_commonid as goodsCommonid,goods_group as goodsGroup';
return $this->orderGoodsField . ',goods_commonid as goodsCommonId,goods_commonid as goodsCommonid,goods_group as goodsGroup';
}
public function getOrderIndexWhere($memberId, $keyword, $pageIndex, $pageSize)
......@@ -485,7 +485,7 @@ class OrderServiceModel extends \Business\AbstractModel
$orders = $orderDao->getMustCecelRecieveOrders($beginTime, $endTime, $orderDao->getOrderDetailField());
if (!empty($orders)) {
$orderIds = array_column($orders, 'orderId');
// $orderIds = array_column($orders, 'orderId');
// $orderGoods = $orderGoodsDao->getOrderGoodsByOrderIds($orderIds, $this->getGoodsDetailField());
// $storeCartsList=array();
// $storeCarts=array();
......@@ -516,7 +516,7 @@ class OrderServiceModel extends \Business\AbstractModel
$this->changeOrderStateCancelUnconditional($order);
}
}
$orderDao->deleteOrderCache($order['buyerId'],$order['orderId'],$order['storeId']);
$orderDao->deleteOrderCache($order['buyerId'],(string)$order['orderId'],$order['storeId']);
}
$push = Push::getInstance();
$push->pushOrderCloseMessage($orders);
......
......@@ -53,7 +53,7 @@ class RefundServiceModel extends \Business\AbstractModel
private function getGoodsDetailField()
{
return $this->orderGoodsField . ',goods_commonid as goodsCommonid,goods_spec as goodsSpec ';
return $this->orderGoodsField . ',goods_commonid as goodsCommonid,goods_commonid as goodsCommonId,goods_spec as goodsSpec ';
}
/**
......
......@@ -341,7 +341,7 @@ class ShopkeeperServiceModel extends \Business\AbstractModel
private function getGoodsDetailField()
{
return $this->orderGoodsField . ',goods_commonid as goodsCommonid,goods_spec as goodsSpec ';
return $this->orderGoodsField . ',goods_commonid as goodsCommonid,goods_commonid as goodsCommonId,goods_goods_spec as goodsSpec ';
}
/**
......
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