Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
order-group-application
order-group
Commits
c7db13ba
Commit
c7db13ba
authored
Apr 24, 2020
by
shuhu.hou@freemud.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
非支付宝、微信渠道不创建配送单
parent
28dd3104
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
order-management/src/main/java/cn/freemud/management/service/impl/OrderDeliveryService.java
+2
-1
No files found.
order-management/src/main/java/cn/freemud/management/service/impl/OrderDeliveryService.java
View file @
c7db13ba
...
...
@@ -108,7 +108,8 @@ public class OrderDeliveryService {
if
(
1
!=
orderBean
.
getType
())
{
return
new
Pair
<>(
false
,
"该订单不是外卖类型订单"
);
}
if
(!
orderBean
.
getSource
().
equalsIgnoreCase
(
OrderSourceType
.
SAAS
.
getCode
())
||
!
orderBean
.
getSource
().
equalsIgnoreCase
(
OrderSourceType
.
ALIPAY
.
getCode
()))
{
//非支付宝、微信渠道不创建配送单
if
(!(
orderBean
.
getSource
().
equalsIgnoreCase
(
OrderSourceType
.
SAAS
.
getCode
())
||
orderBean
.
getSource
().
equalsIgnoreCase
(
OrderSourceType
.
ALIPAY
.
getCode
())))
{
return
new
Pair
<>(
false
,
"订单来源异常"
);
}
//配送信息为空,则不创建配送单
...
...
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