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
587c6c2e
Commit
587c6c2e
authored
Sep 03, 2020
by
huiyang.chen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-2020/8/6-McCafe-会阳' into develop
parents
d096fd45
2e9d1a87
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
+3
-1
order-application-service/src/main/java/cn/freemud/entities/vo/QueryOrderResponseVo.java
+5
-0
order-application-service/src/main/java/cn/freemud/enums/DeliverStatus.java
+3
-1
No files found.
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
View file @
587c6c2e
...
@@ -1194,6 +1194,7 @@ public class OrderAdapter {
...
@@ -1194,6 +1194,7 @@ public class OrderAdapter {
responseVo
.
setCustomerScorePrompt
(
customerScorePrompt
);
responseVo
.
setCustomerScorePrompt
(
customerScorePrompt
);
//优惠总金额=优惠券金额+满减金额+限时折扣金额
//优惠总金额=优惠券金额+满减金额+限时折扣金额
responseVo
.
setDiscountTotalAmount
(
discountTotalAmount
);
responseVo
.
setDiscountTotalAmount
(
discountTotalAmount
);
responseVo
.
setDownstreamThirdOrderCode
(
ordersBean
.
getDownstreamThirdOrderCode
());
responseVo
.
setEnableRefund
(
false
);
responseVo
.
setEnableRefund
(
false
);
if
(
OrderStatus
.
TAKE_ORDER
.
getCode
().
equals
(
ordersBean
.
getStatus
())
&&
PayStatus
.
HAVE_PAID
.
getCode
().
equals
(
ordersBean
.
getPayStatus
()))
{
if
(
OrderStatus
.
TAKE_ORDER
.
getCode
().
equals
(
ordersBean
.
getStatus
())
&&
PayStatus
.
HAVE_PAID
.
getCode
().
equals
(
ordersBean
.
getPayStatus
()))
{
responseVo
.
setEnableRefund
(
true
);
responseVo
.
setEnableRefund
(
true
);
...
@@ -1585,7 +1586,8 @@ public class OrderAdapter {
...
@@ -1585,7 +1586,8 @@ public class OrderAdapter {
}
else
{
}
else
{
if
(
DeliverStatus
.
WATINGORDER
.
getCode
().
equals
(
orderBean
.
getDeliverStatus
())
||
DeliverStatus
.
SYSTEMGETORDER
.
getCode
().
equals
(
orderBean
.
getDeliverStatus
())
if
(
DeliverStatus
.
WATINGORDER
.
getCode
().
equals
(
orderBean
.
getDeliverStatus
())
||
DeliverStatus
.
SYSTEMGETORDER
.
getCode
().
equals
(
orderBean
.
getDeliverStatus
())
||
DeliverStatus
.
ALLOTRIDER
.
getCode
().
equals
(
orderBean
.
getDeliverStatus
())
||
DeliverStatus
.
ALLOTRIDER
.
getCode
().
equals
(
orderBean
.
getDeliverStatus
())
||
DeliverStatus
.
RIDERARRIVESTORE
.
getCode
().
equals
(
orderBean
.
getDeliverStatus
()))
{
||
DeliverStatus
.
RIDERARRIVESTORE
.
getCode
().
equals
(
orderBean
.
getDeliverStatus
())
||
DeliverStatus
.
DELIVERYCOLLECT
.
getCode
().
equals
(
orderBean
.
getDeliverStatus
()))
{
orderViewStatusDto
.
setOrderStatus
(
OrderViewStatus
.
RIDERDELIVERY
.
getCode
());
orderViewStatusDto
.
setOrderStatus
(
OrderViewStatus
.
RIDERDELIVERY
.
getCode
());
orderViewStatusDto
.
setOrderStatusDesc
(
"骑手取餐中"
);
orderViewStatusDto
.
setOrderStatusDesc
(
"骑手取餐中"
);
orderViewStatusDto
.
setOrderStatusDescText
(
"请稍等片刻,美味即将到达哦~"
);
orderViewStatusDto
.
setOrderStatusDescText
(
"请稍等片刻,美味即将到达哦~"
);
...
...
order-application-service/src/main/java/cn/freemud/entities/vo/QueryOrderResponseVo.java
View file @
587c6c2e
...
@@ -352,6 +352,11 @@ public class QueryOrderResponseVo {
...
@@ -352,6 +352,11 @@ public class QueryOrderResponseVo {
*/
*/
private
Integer
bizType
;
private
Integer
bizType
;
/**
* 麦咖啡餐道订单号
*/
private
String
downstreamThirdOrderCode
;
@Data
@Data
public
static
class
OrderStatusFlow
{
public
static
class
OrderStatusFlow
{
/**
/**
...
...
order-application-service/src/main/java/cn/freemud/enums/DeliverStatus.java
View file @
587c6c2e
...
@@ -24,7 +24,9 @@ public enum DeliverStatus {
...
@@ -24,7 +24,9 @@ public enum DeliverStatus {
RIDERSTARTDELIVERY
(
5
,
"开始配送"
),
RIDERSTARTDELIVERY
(
5
,
"开始配送"
),
DELIVERYARRIVED
(
6
,
"运单送达"
),
DELIVERYARRIVED
(
6
,
"运单送达"
),
DELIVERYERROR
(
7
,
"运单异常"
),
DELIVERYERROR
(
7
,
"运单异常"
),
DELIVERYCANCEL
(
8
,
"运单取消"
);
DELIVERYCANCEL
(
8
,
"运单取消"
),
//麦咖啡专用 运单汇集
DELIVERYCOLLECT
(
99
,
"运单汇集"
);
private
Integer
code
;
private
Integer
code
;
private
String
desc
;
private
String
desc
;
...
...
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