Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
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
183799ed
Commit
183799ed
authored
Apr 18, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
38936c44
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
AuditServiceImpl.java
...energy/chnmuseum/party/service/impl/AuditServiceImpl.java
+6
-3
No files found.
src/main/java/cn/wisenergy/chnmuseum/party/service/impl/AuditServiceImpl.java
View file @
183799ed
...
...
@@ -267,7 +267,8 @@ public class AuditServiceImpl extends ServiceImpl<AuditMapper, Audit> implements
queryWrapper
.
select
(
ExhibitionBoard:
:
getId
);
final
List
<
String
>
ExhibitionBoardIdList
=
this
.
exhibitionBoardService
.
listObjs
(
queryWrapper
,
Object:
:
toString
);
this
.
exhibitionBoardService
.
removeByIds
(
ExhibitionBoardIdList
);
update
=
this
.
videoContentService
.
removeById
(
videoContent
);
this
.
videoContentTmpService
.
removeById
(
videoContentId
);
update
=
this
.
videoContentService
.
removeById
(
videoContentId
);
break
;
case
ADD:
videoContent
.
setPublished
(
true
);
...
...
@@ -331,7 +332,8 @@ public class AuditServiceImpl extends ServiceImpl<AuditMapper, Audit> implements
break
;
case
REMOVE:
this
.
learningContentBoardService
.
remove
(
Wrappers
.<
LearningContentBoard
>
lambdaUpdate
().
eq
(
LearningContentBoard:
:
getExhibitionBoardId
,
exhibitionBoard
.
getId
()));
update
=
this
.
exhibitionBoardService
.
removeById
(
exhibitionBoard
);
this
.
exhibitionBoardTmpService
.
removeById
(
exhibitionBoardId
);
update
=
this
.
exhibitionBoardService
.
removeById
(
exhibitionBoardId
);
break
;
case
ADD:
exhibitionBoard
.
setPublished
(
true
);
...
...
@@ -410,7 +412,8 @@ public class AuditServiceImpl extends ServiceImpl<AuditMapper, Audit> implements
update
=
this
.
learningContentService
.
updateById
(
learningContent
);
break
;
case
REMOVE:
update
=
this
.
learningContentService
.
removeById
(
learningContent
);
this
.
learningContentTmpService
.
removeById
(
learningContentId
);
update
=
this
.
learningContentService
.
removeById
(
learningContentId
);
break
;
case
ADD:
learningContent
.
setPublished
(
true
);
...
...
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