Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1-office-web-sit
Commits
0e874f33
Commit
0e874f33
authored
Dec 10, 2021
by
rongkailun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【修改】视频管理筛选条件添加过滤
parent
5ec70f6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
NewsMovieServiceImpl.java
...ice/modules/manage/service/impl/NewsMovieServiceImpl.java
+7
-6
No files found.
src/main/java/io/office/modules/manage/service/impl/NewsMovieServiceImpl.java
View file @
0e874f33
...
...
@@ -2,6 +2,7 @@ package io.office.modules.manage.service.impl;
import
io.office.modules.manage.vo.request.NewsMovieEntityVo
;
import
io.office.modules.sys.entity.SysUserEntity
;
import
org.apache.commons.lang.StringUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.stereotype.Service
;
...
...
@@ -31,12 +32,12 @@ public class NewsMovieServiceImpl extends ServiceImpl<NewsMovieDao, NewsMovieEnt
}
else
{
newsMovieEntityQueryWrapper
.
gt
(
"levels"
,
"0"
);
}
newsMovieEntityQueryWrapper
.
likeLeft
(
params
.
containsKey
(
"title"
),
"title"
,
params
.
get
(
"title"
));
newsMovieEntityQueryWrapper
.
likeLeft
(
params
.
containsKey
(
"author"
),
"author"
,
params
.
get
(
"author"
));
newsMovieEntityQueryWrapper
.
likeLeft
(
params
.
containsKey
(
"auditor"
),
"auditor"
,
params
.
get
(
"auditor"
));
newsMovieEntityQueryWrapper
.
likeLeft
(
params
.
containsKey
(
"keyword"
),
"keyword"
,
params
.
get
(
"keyword"
));
newsMovieEntityQueryWrapper
.
eq
(
params
.
containsKey
(
"status"
),
"status"
,
params
.
get
(
"status"
));
newsMovieEntityQueryWrapper
.
eq
(
params
.
containsKey
(
"clanguage"
),
"clanguage"
,
params
.
get
(
"clanguage"
));
newsMovieEntityQueryWrapper
.
likeLeft
(
params
.
containsKey
(
"title"
)
&&
StringUtils
.
isNotBlank
(
String
.
valueOf
(
params
.
get
(
"title"
)))
,
"title"
,
params
.
get
(
"title"
));
newsMovieEntityQueryWrapper
.
likeLeft
(
params
.
containsKey
(
"author"
)
&&
StringUtils
.
isNotBlank
(
String
.
valueOf
(
params
.
get
(
"author"
)))
,
"author"
,
params
.
get
(
"author"
));
newsMovieEntityQueryWrapper
.
likeLeft
(
params
.
containsKey
(
"auditor"
)
&&
StringUtils
.
isNotBlank
(
String
.
valueOf
(
params
.
get
(
"auditor"
)))
,
"auditor"
,
params
.
get
(
"auditor"
));
newsMovieEntityQueryWrapper
.
likeLeft
(
params
.
containsKey
(
"keyword"
)
&&
StringUtils
.
isNotBlank
(
String
.
valueOf
(
params
.
get
(
"keyword"
)))
,
"keyword"
,
params
.
get
(
"keyword"
));
newsMovieEntityQueryWrapper
.
eq
(
params
.
containsKey
(
"status"
)
&&
StringUtils
.
isNotBlank
(
String
.
valueOf
(
params
.
get
(
"status"
)))
,
"status"
,
params
.
get
(
"status"
));
newsMovieEntityQueryWrapper
.
eq
(
params
.
containsKey
(
"clanguage"
)
&&
StringUtils
.
isNotBlank
(
String
.
valueOf
(
params
.
get
(
"clanguage"
)))
,
"clanguage"
,
params
.
get
(
"clanguage"
));
newsMovieEntityQueryWrapper
.
orderByDesc
(
"releasedate"
);
IPage
<
NewsMovieEntity
>
page
=
this
.
page
(
...
...
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