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
dde621e0
Commit
dde621e0
authored
Apr 12, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
71d37ed6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
49 deletions
+7
-49
CopyrightOwnerController.java
...museum/party/web/controller/CopyrightOwnerController.java
+5
-1
CopytightOwnerAssetTypeController.java
...rty/web/controller/CopytightOwnerAssetTypeController.java
+0
-22
CopytightOwnerBoardTypeController.java
...rty/web/controller/CopytightOwnerBoardTypeController.java
+0
-22
ExhibitionBoardCatController.java
...um/party/web/controller/ExhibitionBoardCatController.java
+1
-2
VideoContentCatController.java
...useum/party/web/controller/VideoContentCatController.java
+1
-2
No files found.
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/CopyrightOwnerController.java
View file @
dde621e0
...
...
@@ -272,7 +272,11 @@ public class CopyrightOwnerController extends BaseController {
updateWrapper1
.
set
(
ExhibitionBoard:
:
getDeleted
,
true
);
this
.
exhibitionBoardService
.
update
(
updateWrapper1
);
//todo 删除版权方关联表
LambdaUpdateWrapper
<
CopyrightOwnerBoardCat
>
deleteWrapper
=
Wrappers
.<
CopyrightOwnerBoardCat
>
lambdaUpdate
().
eq
(
CopyrightOwnerBoardCat:
:
getCopyrightOwnerId
,
id
);
this
.
copyrightOwnerBoardCatService
.
remove
(
deleteWrapper
);
LambdaUpdateWrapper
<
CopyrightOwnerVideoContentCat
>
deleteWrapper1
=
Wrappers
.<
CopyrightOwnerVideoContentCat
>
lambdaUpdate
().
eq
(
CopyrightOwnerVideoContentCat:
:
getCopyrightOwnerId
,
id
);
this
.
copyrightOwnerVideoContentCatService
.
remove
(
deleteWrapper1
);
return
getSuccessResult
();
}
...
...
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/CopytightOwnerAssetTypeController.java
deleted
100644 → 0
View file @
71d37ed6
package
cn
.
wisenergy
.
chnmuseum
.
party
.
web
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
cn.wisenergy.chnmuseum.party.web.controller.base.BaseController
;
/**
* <p>
* 版权方视频分类 前端控制器
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@RestController
@RequestMapping
(
"/party/copytight-owner-asset-type"
)
public
class
CopytightOwnerAssetTypeController
extends
BaseController
{
}
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/CopytightOwnerBoardTypeController.java
deleted
100644 → 0
View file @
71d37ed6
package
cn
.
wisenergy
.
chnmuseum
.
party
.
web
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
cn.wisenergy.chnmuseum.party.web.controller.base.BaseController
;
/**
* <p>
* 版权方展板分类 前端控制器
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@RestController
@RequestMapping
(
"/party/copytight-owner-board-type"
)
public
class
CopytightOwnerBoardTypeController
extends
BaseController
{
}
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/ExhibitionBoardCatController.java
View file @
dde621e0
...
...
@@ -32,7 +32,6 @@ import javax.annotation.Resource;
import
javax.validation.constraints.NotNull
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Objects
;
import
java.util.Set
;
import
java.util.stream.Collectors
;
...
...
@@ -132,7 +131,7 @@ public class ExhibitionBoardCatController extends BaseController {
if
(
StringUtils
.
isNotBlank
(
copyrightOwnerId
))
{
final
LambdaQueryWrapper
<
CopyrightOwnerBoardCat
>
queryWrapper
=
Wrappers
.<
CopyrightOwnerBoardCat
>
lambdaQuery
().
eq
(
CopyrightOwnerBoardCat:
:
getCopyrightOwnerId
,
copyrightOwnerId
);
queryWrapper
.
select
(
CopyrightOwnerBoardCat:
:
getBoardCatId
);
final
List
<
String
>
boardCatIdList
=
this
.
copyrightOwnerBoardCatService
.
listObjs
(
queryWrapper
,
Object
s
:
:
toString
);
final
List
<
String
>
boardCatIdList
=
this
.
copyrightOwnerBoardCatService
.
listObjs
(
queryWrapper
,
Object:
:
toString
);
exhibitionBoardCatLambdaQueryWrapper
.
in
(
ExhibitionBoardCat:
:
getId
,
boardCatIdList
);
}
...
...
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/VideoContentCatController.java
View file @
dde621e0
...
...
@@ -28,7 +28,6 @@ import org.springframework.web.bind.annotation.*;
import
javax.annotation.Resource
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Objects
;
import
java.util.Set
;
import
java.util.stream.Collectors
;
...
...
@@ -94,7 +93,7 @@ public class VideoContentCatController extends BaseController {
if
(
StringUtils
.
isNotBlank
(
copyrightOwnerId
))
{
final
LambdaQueryWrapper
<
CopyrightOwnerVideoContentCat
>
queryWrapper
=
Wrappers
.<
CopyrightOwnerVideoContentCat
>
lambdaQuery
().
eq
(
CopyrightOwnerVideoContentCat:
:
getCopyrightOwnerId
,
copyrightOwnerId
);
queryWrapper
.
select
(
CopyrightOwnerVideoContentCat:
:
getVideoContentCatId
);
final
List
<
String
>
videoContentCatIdList
=
this
.
copyrightOwnerVideoContentCatService
.
listObjs
(
queryWrapper
,
Object
s
:
:
toString
);
final
List
<
String
>
videoContentCatIdList
=
this
.
copyrightOwnerVideoContentCatService
.
listObjs
(
queryWrapper
,
Object:
:
toString
);
videoContentCatLambdaQueryWrapper
.
in
(
VideoContentCat:
:
getId
,
videoContentCatIdList
);
}
...
...
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