Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
chnmuseum-party
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liqin
chnmuseum-party
Commits
adf431c2
Commit
adf431c2
authored
Apr 07, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
140eea51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
BasePageOrderParam.java
...senergy/chnmuseum/party/common/vo/BasePageOrderParam.java
+3
-0
ExhibitionBoardController.java
...useum/party/web/controller/ExhibitionBoardController.java
+4
-0
No files found.
src/main/java/cn/wisenergy/chnmuseum/party/common/vo/BasePageOrderParam.java
View file @
adf431c2
...
@@ -54,6 +54,9 @@ public abstract class BasePageOrderParam extends BasePageParam {
...
@@ -54,6 +54,9 @@ public abstract class BasePageOrderParam extends BasePageParam {
@ApiModelProperty
(
"展板版权方ID"
)
@ApiModelProperty
(
"展板版权方ID"
)
private
String
boardCopyrightOwnerId
;
private
String
boardCopyrightOwnerId
;
@ApiModelProperty
(
"展板分类ID"
)
private
String
exhibitionBoardCatId
;
@ApiModelProperty
(
value
=
"禁用/启用"
)
@ApiModelProperty
(
value
=
"禁用/启用"
)
private
Boolean
isPublished
;
private
Boolean
isPublished
;
...
...
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/ExhibitionBoardController.java
View file @
adf431c2
...
@@ -257,6 +257,10 @@ public class ExhibitionBoardController extends BaseController {
...
@@ -257,6 +257,10 @@ public class ExhibitionBoardController extends BaseController {
if
(
StringUtils
.
isNotBlank
(
genericPageParam
.
getBoardCopyrightOwnerId
()))
{
if
(
StringUtils
.
isNotBlank
(
genericPageParam
.
getBoardCopyrightOwnerId
()))
{
queryWrapper
.
eq
(
ExhibitionBoard:
:
getBoardCopyrightOwnerId
,
genericPageParam
.
getBoardCopyrightOwnerId
());
queryWrapper
.
eq
(
ExhibitionBoard:
:
getBoardCopyrightOwnerId
,
genericPageParam
.
getBoardCopyrightOwnerId
());
}
}
// 对版权方模糊查询
if
(
StringUtils
.
isNotBlank
(
genericPageParam
.
getExhibitionBoardCatId
()))
{
queryWrapper
.
eq
(
ExhibitionBoard:
:
getExhibitionBoardCatId
,
genericPageParam
.
getExhibitionBoardCatId
());
}
// 根据创建时间区间检索
// 根据创建时间区间检索
if
(
genericPageParam
.
getStartDate
()
!=
null
&&
genericPageParam
.
getEndDate
()
!=
null
)
{
if
(
genericPageParam
.
getStartDate
()
!=
null
&&
genericPageParam
.
getEndDate
()
!=
null
)
{
queryWrapper
.
ge
(
ExhibitionBoard:
:
getCreateTime
,
genericPageParam
.
getStartDate
().
atTime
(
0
,
0
,
0
))
queryWrapper
.
ge
(
ExhibitionBoard:
:
getCreateTime
,
genericPageParam
.
getStartDate
().
atTime
(
0
,
0
,
0
))
...
...
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