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
b6f253cc
Commit
b6f253cc
authored
Feb 01, 2021
by
xiaoer.li@freemud.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
4cd6a078
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
+9
-1
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
+9
-1
No files found.
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
View file @
b6f253cc
...
...
@@ -607,8 +607,16 @@ public class OrderAdapter {
*/
public
BaseCreateOrderRequest
getCreateOrderDto
(
CreateOrderVo
createOrderVo
)
{
UserDeliveryInfoDto
userDeliveryInfoDto
=
createOrderVo
.
getUserDeliveryInfoDto
();
String
deliveryType
=
userDeliveryInfoDto
!=
null
&&
userDeliveryInfoDto
.
getStoreDeliveryInfoDto
()
!=
null
String
deliveryType
=
""
;
if
(
userDeliveryInfoDto
!=
null
)
{
deliveryType
=
userDeliveryInfoDto
!=
null
&&
userDeliveryInfoDto
.
getStoreDeliveryInfoDto
()
!=
null
?
userDeliveryInfoDto
.
getStoreDeliveryInfoDto
().
getDeliveryType
()
:
""
;
}
else
{
deliveryType
=
userDeliveryInfoDto
.
getStoreDeliveryInfoDto
()
!=
null
?
userDeliveryInfoDto
.
getStoreDeliveryInfoDto
().
getDeliveryType
()
:
""
;
}
Integer
orderType
;
String
receiveAddress
=
createOrderVo
.
getStoreAddress
();
if
(
Objects
.
equals
(
createOrderVo
.
getOrderType
(),
CreateOrderType
.
TAKE_OUT
.
getCode
()))
{
...
...
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