Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
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
8timerv2
8timerapiv200
Commits
ae272a03
Commit
ae272a03
authored
Apr 27, 2020
by
邓实川
Committed by
chenzg
Jul 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化接口查询购买记录
parent
86fdf3e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/main/java/cn/timer/api/controller/qyzx/QyzxBusinessController.java
+2
-2
No files found.
src/main/java/cn/timer/api/controller/qyzx/QyzxBusinessController.java
View file @
ae272a03
...
...
@@ -181,9 +181,9 @@ public class QyzxBusinessController {
@RequestParam
(
required
=
false
)
String
query
,
@RequestParam
(
required
=
false
)
String
s
,
@RequestParam
(
required
=
false
)
String
e
)
{
QueryWrapper
<
QyzxBuyRecord
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
and
(
!
StrUtil
.
hasBlank
(
query
)
,
queryWrapper
.
eq
(
"org_code"
,
userBean
.
getOrgCode
()).
and
(
query
!=
null
&&
query
!=
""
,
wq
->
wq
.
like
(
"order_no"
,
query
).
or
().
like
(
"content"
,
query
));
queryWrapper
.
between
(
s
!=
null
||
s
!=
""
&&
e
!=
null
||
e
!=
""
,
"create_time"
,
queryWrapper
.
between
(
s
!=
null
&&
s
!=
""
&&
e
!=
null
&&
e
!=
""
,
"create_time"
,
!
StrUtil
.
hasBlank
(
s
)
?
s
:
"1000-01-01 00:00:00"
,
!
StrUtil
.
hasBlank
(
e
)
?
e
:
"9999-01-01 00:00:00"
);
Page
<
Object
>
page
=
PageHelper
.
startPage
(
pageNum
,
pageSize
);
List
<
QyzxBuyRecord
>
list
=
QyzxBuyRecord
.
builder
().
build
().
selectList
(
queryWrapper
);
...
...
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