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
e211b61d
Commit
e211b61d
authored
Nov 24, 2019
by
Junling Bu
Browse files
#176
parent
ed9f9462
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-db/src/main/java/org/linlinjava/litemall/db/service/LitemallUserFormIdService.java
View file @
e211b61d
...
@@ -23,6 +23,7 @@ public class LitemallUserFormIdService {
...
@@ -23,6 +23,7 @@ public class LitemallUserFormIdService {
LitemallUserFormidExample
example
=
new
LitemallUserFormidExample
();
LitemallUserFormidExample
example
=
new
LitemallUserFormidExample
();
//符合找到该用户记录,且可用次数大于1,且还未过期
//符合找到该用户记录,且可用次数大于1,且还未过期
example
.
or
().
andOpenidEqualTo
(
openId
).
andExpireTimeGreaterThan
(
LocalDateTime
.
now
());
example
.
or
().
andOpenidEqualTo
(
openId
).
andExpireTimeGreaterThan
(
LocalDateTime
.
now
());
example
.
setOrderByClause
(
"add_time desc"
);
return
formidMapper
.
selectOneByExample
(
example
);
return
formidMapper
.
selectOneByExample
(
example
);
}
}
...
...
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