Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
9aca5a86
Commit
9aca5a86
authored
Sep 28, 2019
by
Junling Bu
Browse files
fix
parent
7f11a6a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-db/src/main/java/org/linlinjava/litemall/db/util/OrderUtil.java
View file @
9aca5a86
...
...
@@ -144,10 +144,10 @@ public class OrderUtil {
return
OrderUtil
.
STATUS_CREATE
==
litemallOrder
.
getOrderStatus
().
shortValue
();
}
public
static
boolean
hasPayed
(
Order
order
)
{
return
OrderUtil
.
STATUS_CREATE
!=
order
.
getOrderStatus
()
&&
OrderUtil
.
STATUS_CANCEL
!=
order
.
getOrderStatus
()
&&
OrderUtil
.
STATUS_AUTO_CANCEL
!=
order
.
getOrderStatus
();
public
static
boolean
hasPayed
(
Litemall
Order
order
)
{
return
OrderUtil
.
STATUS_CREATE
!=
order
.
getOrderStatus
()
.
shortValue
()
&&
OrderUtil
.
STATUS_CANCEL
!=
order
.
getOrderStatus
()
.
shortValue
()
&&
OrderUtil
.
STATUS_AUTO_CANCEL
!=
order
.
getOrderStatus
()
.
shortValue
()
;
}
public
static
boolean
isPayStatus
(
LitemallOrder
litemallOrder
)
{
...
...
Write
Preview
Supports
Markdown
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