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
baf1bfd6
Commit
baf1bfd6
authored
Nov 30, 2018
by
christ
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into ccw
parents
12ee6f01
0b5ec131
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
OrderService.php
application/models/Business/Order/OrderService.php
+1
-1
RefundService.php
application/models/Business/Order/RefundService.php
+1
-1
No files found.
application/models/Business/Order/OrderService.php
View file @
baf1bfd6
...
@@ -883,7 +883,7 @@ class OrderServiceModel extends \Business\AbstractModel
...
@@ -883,7 +883,7 @@ class OrderServiceModel extends \Business\AbstractModel
if
(
empty
(
$diliverymanIds
))
{
if
(
empty
(
$diliverymanIds
))
{
ErrorModel
::
throwException
(
CodeConfigModel
::
commonError
);
ErrorModel
::
throwException
(
CodeConfigModel
::
commonError
);
}
}
$qmDeliveryLogList
=
$qmDeliveryLogDao
->
getListByDeliverymanIdAndTypeCache
(
$diliverymanIds
,
$type
,
ApiConst
::
pageIndex
,
$pageSize
,
array
(
'get_time'
=>
'desc'
),
$memberId
);
$qmDeliveryLogList
=
$qmDeliveryLogDao
->
getListByDeliverymanIdAndTypeCache
(
$diliverymanIds
,
$type
,
$
pageIndex
,
$pageSize
,
array
(
'get_time'
=>
'desc'
),
$memberId
);
$orderIds
=
Array
();
$orderIds
=
Array
();
foreach
(
$qmDeliveryLogList
[
'list'
]
as
$qmDeliveryLog
){
foreach
(
$qmDeliveryLogList
[
'list'
]
as
$qmDeliveryLog
){
if
(
$qmDeliveryLog
[
'orderType'
]
==
ApiConst
::
orderTypeRefund
){
if
(
$qmDeliveryLog
[
'orderType'
]
==
ApiConst
::
orderTypeRefund
){
...
...
application/models/Business/Order/RefundService.php
View file @
baf1bfd6
...
@@ -718,7 +718,7 @@ class RefundServiceModel extends \Business\AbstractModel
...
@@ -718,7 +718,7 @@ class RefundServiceModel extends \Business\AbstractModel
if
(
empty
(
$refundReturn
))
{
if
(
empty
(
$refundReturn
))
{
ErrorModel
::
throwException
(
CodeConfigModel
::
notExistRefund
);
ErrorModel
::
throwException
(
CodeConfigModel
::
notExistRefund
);
}
}
$res
=
$this
->
getStoreRefundList
(
$storeId
,
$returnId
);
$res
=
$this
->
getStoreRefundList
(
$storeId
,
ApiConst
::
zero
,
ApiConst
::
zero
,
ApiConst
::
pageSize
,
$returnId
);
if
(
!
empty
(
$res
[
'refundReturns'
][
ApiConst
::
zero
]))
{
if
(
!
empty
(
$res
[
'refundReturns'
][
ApiConst
::
zero
]))
{
return
$res
[
'refundReturns'
][
ApiConst
::
zero
];
return
$res
[
'refundReturns'
][
ApiConst
::
zero
];
}
}
...
...
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