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
cef02ec5
Commit
cef02ec5
authored
Oct 30, 2020
by
chongfu.liang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改状态类型
parent
e877927c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
order-management/src/main/java/cn/freemud/management/service/handle/DeliveryHandle.java
+8
-0
No files found.
order-management/src/main/java/cn/freemud/management/service/handle/DeliveryHandle.java
View file @
cef02ec5
...
...
@@ -23,6 +23,7 @@ import com.freemud.application.sdk.api.log.LogThreadLocal;
import
com.freemud.application.sdk.api.service.EmailAlertService
;
import
com.freemud.application.sdk.api.storecenter.request.StoreInfoRequest
;
import
com.freemud.application.sdk.api.storecenter.response.StoreResponse
;
import
com.freemud.sdk.api.assortment.order.adapter.OrderSdkAdapter
;
import
com.freemud.sdk.api.assortment.order.enums.OrderSourceType
;
import
com.freemud.sdk.api.assortment.order.response.order.QueryOrdersResponse
;
import
javafx.util.Pair
;
...
...
@@ -168,11 +169,15 @@ public class DeliveryHandle {
return
false
;
}
//订单来源异常
boolean
sourceCheck
=
false
;
String
[]
supportSource
=
supportOrderSource
.
split
(
","
);
// OrderSourceType.SAAS.getCode()
for
(
String
source
:
supportSource
){
if
(
orderBean
.
getSource
().
equalsIgnoreCase
(
source
))
{
sourceCheck
=
true
;
break
;
}
}
if
(!
sourceCheck
){
return
false
;
}
//配送信息为空,则不创建配送单
...
...
@@ -185,4 +190,7 @@ public class DeliveryHandle {
}
return
true
;
}
}
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