Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenchuanwen
my-yaf-project
Commits
369a8d07
Commit
369a8d07
authored
Sep 04, 2018
by
zhz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into master_dev
parents
665d3080
3bce11ed
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
OrderService.php
application/models/Business/Order/OrderService.php
+3
-3
RefundService.php
application/models/Business/Order/RefundService.php
+1
-1
ShopkeeperService.php
application/models/Business/Store/ShopkeeperService.php
+1
-1
No files found.
application/models/Business/Order/OrderService.php
View file @
369a8d07
...
...
@@ -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 goodsCommon
Id,goods_commonid as goodsCommon
id,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
);
...
...
application/models/Business/Order/RefundService.php
100755 → 100644
View file @
369a8d07
...
...
@@ -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 '
;
}
/**
...
...
application/models/Business/Store/ShopkeeperService.php
100755 → 100644
View file @
369a8d07
...
...
@@ -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 '
;
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment