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
"vscode:/vscode.git/clone" did not exist on "84c6864fa4c64ee0e2f3e65a89fbd04446bb5644"
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 {
...
@@ -144,10 +144,10 @@ public class OrderUtil {
return
OrderUtil
.
STATUS_CREATE
==
litemallOrder
.
getOrderStatus
().
shortValue
();
return
OrderUtil
.
STATUS_CREATE
==
litemallOrder
.
getOrderStatus
().
shortValue
();
}
}
public
static
boolean
hasPayed
(
Order
order
)
{
public
static
boolean
hasPayed
(
Litemall
Order
order
)
{
return
OrderUtil
.
STATUS_CREATE
!=
order
.
getOrderStatus
()
return
OrderUtil
.
STATUS_CREATE
!=
order
.
getOrderStatus
()
.
shortValue
()
&&
OrderUtil
.
STATUS_CANCEL
!=
order
.
getOrderStatus
()
&&
OrderUtil
.
STATUS_CANCEL
!=
order
.
getOrderStatus
()
.
shortValue
()
&&
OrderUtil
.
STATUS_AUTO_CANCEL
!=
order
.
getOrderStatus
();
&&
OrderUtil
.
STATUS_AUTO_CANCEL
!=
order
.
getOrderStatus
()
.
shortValue
()
;
}
}
public
static
boolean
isPayStatus
(
LitemallOrder
litemallOrder
)
{
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