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
652c8f95
Commit
652c8f95
authored
Mar 26, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
730274bc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
75 additions
and
91 deletions
+75
-91
LearningContent.java
...a/cn/wisenergy/chnmuseum/party/model/LearningContent.java
+1
-1
CopyrightOwnerController.java
...museum/party/web/controller/CopyrightOwnerController.java
+1
-2
LearningContentController.java
...useum/party/web/controller/LearningContentController.java
+73
-88
No files found.
src/main/java/cn/wisenergy/chnmuseum/party/model/LearningContent.java
View file @
652c8f95
...
...
@@ -48,7 +48,7 @@ public class LearningContent implements Serializable {
@NotBlank
(
message
=
"学习内容宣传图不能为空"
,
groups
=
{
Add
.
class
,
Update
.
class
})
private
String
cover
;
@ApiModelProperty
(
"适用范围
"
)
@ApiModelProperty
(
value
=
"适用范围"
,
allowableValues
=
"ALL_PLAT, THIS_ORGAN, THIS_ORGAN_SUB
"
)
@TableField
(
"applicable_scope"
)
@NotBlank
(
message
=
"适用范围不能为空"
,
groups
=
{
Add
.
class
,
Update
.
class
})
private
String
applicableScope
;
...
...
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/CopyrightOwnerController.java
View file @
652c8f95
...
...
@@ -95,8 +95,7 @@ public class CopyrightOwnerController extends BaseController {
@PutMapping
(
"/update"
)
@RequiresPermissions
(
"copyright:owner:update"
)
@ApiOperation
(
value
=
"修改版权方信息"
,
notes
=
"修改版权方信息"
)
public
Map
<
String
,
Object
>
updateCopyrightOwner
(
@Validated
(
value
=
{
Update
.
class
})
CopyrightOwner
copyrightOwner
,
@RequestParam
(
"copyrightOwnerType"
)
CopyrightOwnerTypeEnum
copyrightOwnerTypeEnum
)
{
copyrightOwner
.
setOwnerType
(
copyrightOwnerTypeEnum
.
name
());
public
Map
<
String
,
Object
>
updateCopyrightOwner
(
@Validated
(
value
=
{
Update
.
class
})
CopyrightOwner
copyrightOwner
)
{
boolean
flag
=
copyrightOwnerService
.
updateById
(
copyrightOwner
);
List
<
String
>
assetTypeIdList
=
copyrightOwner
.
getAssetTypeIdList
();
...
...
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/LearningContentController.java
View file @
652c8f95
This diff is collapsed.
Click to expand it.
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