Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ufo
/
yohoufo-fore
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
chenchao
6 years ago
Commit
56ab76bc543d0bd85d0c7e1016b74c24219d60d8
1 parent
2c724588
add can modify address
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
order/src/main/java/com/yohoufo/order/common/ActionStatusHold.java
order/src/main/java/com/yohoufo/order/common/ActionStatusHold.java
View file @
56ab76b
...
...
@@ -36,7 +36,17 @@ public class ActionStatusHold {
OrderStatus
.
BUYER_CANCEL_BEFORE_SELLER_DELIVER
.
getCode
(),
OrderStatus
.
BUYER_CANCEL_BEFORE_DEPOT_RECEIVE
.
getCode
()
);
static
List
<
Integer
>
canModifyAddressStatus
;
static
{
canModifyAddressStatus
=
Arrays
.
asList
(
OrderStatus
.
HAS_PAYED
.
getCode
(),
OrderStatus
.
SELLER_SEND_OUT
.
getCode
());
}
}
public
static
boolean
buyerCanModifyAddress
(
Integer
status
){
return
BuyerASH
.
canModifyAddressStatus
.
contains
(
status
);
}
public
static
List
<
Integer
>
getBuyerShowExpressStatusList
(){
return
BuyerASH
.
SHOW_EXPRESS_STATUS_LIST
;
}
...
...
Please
register
or
login
to post a comment