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
3c696d61
Commit
3c696d61
authored
May 25, 2020
by
xiaoer.li@freemud.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'remotes/origin/feature/1.9.23_待支付'
parents
c3f6653a
c215e80a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
+3
-0
order-application-service/src/main/java/cn/freemud/entities/vo/QueryOrderVo.java
+1
-1
order-application-service/src/main/java/cn/freemud/enums/QueryOrderStatus.java
+2
-1
No files found.
order-application-service/src/main/java/cn/freemud/adapter/OrderAdapter.java
View file @
3c696d61
...
...
@@ -833,6 +833,9 @@ public class OrderAdapter {
Integer
[]
statuses
=
new
Integer
[]{
RefundStatus
.
APPLY_REFUND
.
getCode
(),
RefundStatus
.
AGREE_REFUND
.
getCode
(),
RefundStatus
.
COMPLETE_REFUND
.
getCode
()};
queryOrdersDto
.
setRefundStatus
(
statuses
);
}
if
(
QueryOrderStatus
.
NO_PAY
.
getCode
().
equals
(
queryOrderDto
.
getQueryOrderStatus
()))
{
queryOrdersDto
.
setPayStatus
(
new
Integer
[]{
PayStatus
.
NOT_PAY
.
getCode
()});
}
}
// 兼容历史版本,如果传参是4 查询拆程4和5
...
...
order-application-service/src/main/java/cn/freemud/entities/vo/QueryOrderVo.java
View file @
3c696d61
...
...
@@ -34,7 +34,7 @@ public class QueryOrderVo {
*/
private
String
oid
;
/**
* 订单状态 enum queryOrderStatus 全部订单 1 待取餐 2 已完成 3 全部 4.退款
* 订单状态 enum queryOrderStatus 全部订单 1 待取餐 2 已完成 3 全部 4.退款
,5 待支付
*/
private
Integer
queryOrderStatus
;
/**
...
...
order-application-service/src/main/java/cn/freemud/enums/QueryOrderStatus.java
View file @
3c696d61
...
...
@@ -18,7 +18,8 @@ public enum QueryOrderStatus {
TAKE_MEAL
(
1
,
"待取餐"
),
FINISH
(
2
,
"已完成"
),
ALL_BILL
(
3
,
"全部"
),
REFUND_BILL
(
4
,
"退款"
);
REFUND_BILL
(
4
,
"退款"
),
NO_PAY
(
5
,
"待支付"
);
private
Integer
code
;
...
...
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