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
6b2c7353
Commit
6b2c7353
authored
Apr 08, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
a33ba06b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
ExhibitionBoardCatController.java
...um/party/web/controller/ExhibitionBoardCatController.java
+1
-1
LearningContentController.java
...useum/party/web/controller/LearningContentController.java
+4
-2
VideoContentCatController.java
...useum/party/web/controller/VideoContentCatController.java
+0
-2
No files found.
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/ExhibitionBoardCatController.java
View file @
6b2c7353
...
...
@@ -111,7 +111,7 @@ public class ExhibitionBoardCatController extends BaseController {
@GetMapping
(
"/getList"
)
@RequiresAuthentication
//@RequiresPermissions("exhibition:board:cat:list")
@ApiOperation
(
value
=
"获取展板分类全部列表(无分页)"
,
notes
=
"获取展板分类全部列表(无分页)"
)
public
Map
<
String
,
Object
>
getExhibitionBoardCatList
(
@RequestParam
(
value
=
"auditStatus"
,
required
=
false
)
AuditStatusEnum
auditStatus
)
{
public
Map
<
String
,
Object
>
getExhibitionBoardCatList
()
{
List
<
ExhibitionBoardCat
>
exhibitionBoardCatList
=
exhibitionBoardCatService
.
list
(
Wrappers
.<
ExhibitionBoardCat
>
lambdaQuery
().
orderByDesc
(
ExhibitionBoardCat:
:
getCreateTime
));
return
getResult
(
exhibitionBoardCatList
);
}
...
...
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/LearningContentController.java
View file @
6b2c7353
...
...
@@ -229,8 +229,7 @@ public class LearningContentController extends BaseController {
if
(
StringUtils
.
isNotBlank
(
learningProjectId
))
{
queryWrapper
.
eq
(
LearningContent:
:
getLearningProjectId
,
learningProjectId
);
}
// 根据创建时间区间检索
if
(
genericPageParam
.
getIsPublished
()
!=
null
)
{
if
(
genericPageParam
.
getIsPublished
())
{
queryWrapper
.
eq
(
LearningContent:
:
getPublished
,
genericPageParam
.
getIsPublished
());
}
// 对名称或编码模糊查询
...
...
@@ -248,8 +247,11 @@ public class LearningContentController extends BaseController {
queryWrapper
.
select
(
LearningContent:
:
getId
,
LearningContent:
:
getName
,
LearningContent:
:
getApplicableScope
,
LearningContent:
:
getAuditStatus
,
LearningContent:
:
getPublished
,
LearningContent:
:
getDeleted
,
LearningContent:
:
getSortorder
,
LearningContent:
:
getCreateTime
,
LearningContent:
:
getUpdateTime
);
Page
<
LearningContent
>
page
=
this
.
learningContentService
.
page
(
getPage
(),
queryWrapper
);
...
...
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/VideoContentCatController.java
View file @
6b2c7353
...
...
@@ -80,8 +80,6 @@ public class VideoContentCatController extends BaseController {
@RequiresAuthentication
//@RequiresPermissions("video:content:cat:list")
@ApiOperation
(
value
=
"获取视频内容分类全部列表(无分页)"
,
notes
=
"获取视频内容分类全部列表(无分页)"
)
public
Map
<
String
,
Object
>
getVideoContentCatList
()
{
LambdaQueryWrapper
<
VideoContentCat
>
queryWrapper
=
new
LambdaQueryWrapper
<>();
// 设置排序规则
List
<
VideoContentCat
>
videoContentCatList
=
videoContentCatService
.
list
(
Wrappers
.<
VideoContentCat
>
lambdaQuery
().
orderByDesc
(
VideoContentCat:
:
getCreateTime
));
return
getResult
(
videoContentCatList
);
}
...
...
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