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
0c383250
Commit
0c383250
authored
Nov 29, 2022
by
ping.wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
保存收货人名称
parent
2527ab51
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
+2
-0
No files found.
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
View file @
0c383250
...
@@ -504,6 +504,7 @@ public class OrderAdapter {
...
@@ -504,6 +504,7 @@ public class OrderAdapter {
if
(
Objects
.
equals
(
createOrderVo
.
getOrderType
(),
CreateOrderType
.
TAKE_OUT
.
getCode
()))
{
if
(
Objects
.
equals
(
createOrderVo
.
getOrderType
(),
CreateOrderType
.
TAKE_OUT
.
getCode
()))
{
// orderType = OrderTypeV1.TAKE_OUT.getCode();
// orderType = OrderTypeV1.TAKE_OUT.getCode();
newOrderType
=
getNewOrderType
(
OrderTypeV1
.
TAKE_OUT
,
createOrderVo
.
getExpectTime
(),
createOrderVo
.
getBizType
());
newOrderType
=
getNewOrderType
(
OrderTypeV1
.
TAKE_OUT
,
createOrderVo
.
getExpectTime
(),
createOrderVo
.
getBizType
());
createOrderVo
.
setContactsName
(
userDeliveryInfoDto
!=
null
?
userDeliveryInfoDto
.
getReceiveUserName
()
:
""
);
receiveAddress
=
(
userDeliveryInfoDto
!=
null
?
userDeliveryInfoDto
.
getReceiveOfficeName
()
+
","
+
userDeliveryInfoDto
.
getReceiveAddress
()
:
""
);
receiveAddress
=
(
userDeliveryInfoDto
!=
null
?
userDeliveryInfoDto
.
getReceiveOfficeName
()
+
","
+
userDeliveryInfoDto
.
getReceiveAddress
()
:
""
);
}
else
if
(
Objects
.
equals
(
createOrderVo
.
getOrderType
(),
CreateOrderType
.
COLLECT_GOODS
.
getCode
()))
{
}
else
if
(
Objects
.
equals
(
createOrderVo
.
getOrderType
(),
CreateOrderType
.
COLLECT_GOODS
.
getCode
()))
{
if
(
Objects
.
equals
(
createOrderVo
.
getReachStoreType
(),
OrderTypeV1
.
EAT_IN
.
getCode
()))
{
if
(
Objects
.
equals
(
createOrderVo
.
getReachStoreType
(),
OrderTypeV1
.
EAT_IN
.
getCode
()))
{
...
@@ -513,6 +514,7 @@ public class OrderAdapter {
...
@@ -513,6 +514,7 @@ public class OrderAdapter {
newOrderType
=
getNewOrderType
(
OrderTypeV1
.
COLLECT_GOODS
,
createOrderVo
.
getExpectTime
(),
createOrderVo
.
getBizType
());
newOrderType
=
getNewOrderType
(
OrderTypeV1
.
COLLECT_GOODS
,
createOrderVo
.
getExpectTime
(),
createOrderVo
.
getBizType
());
// orderType = OrderTypeV1.COLLECT_GOODS.getCode();
// orderType = OrderTypeV1.COLLECT_GOODS.getCode();
}
}
createOrderVo
.
setContactsName
(
createOrderVo
.
getUserName
());
}
else
if
(
Objects
.
equals
(
createOrderVo
.
getOrderType
(),
CreateOrderType
.
SAASMALL
.
getCode
()))
{
}
else
if
(
Objects
.
equals
(
createOrderVo
.
getOrderType
(),
CreateOrderType
.
SAASMALL
.
getCode
()))
{
// orderType = OrderTypeV1.EAT_IN.getCode();
// orderType = OrderTypeV1.EAT_IN.getCode();
newOrderType
=
OrderType
.
GENERAL_DINE_IN
;
newOrderType
=
OrderType
.
GENERAL_DINE_IN
;
...
...
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