Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fzm-joying
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
lei
fzm-joying
Commits
d2010f1b
Commit
d2010f1b
authored
Feb 21, 2022
by
tangtuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增获取著作权人详情的接口
parent
349382f7
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
2 deletions
+8
-2
DraftServiceImpl.java
...in/java/com/fzm/common/service/impl/DraftServiceImpl.java
+1
-1
CopyrightOwnerController.java
...a/com/fzm/portal/controller/CopyrightOwnerController.java
+6
-0
application.yml
joying-portal/src/main/resources/application.yml
+1
-1
logback.2022-02-18.0.log
logs/logback.2022-02-18.0.log
+0
-0
No files found.
joying-common/src/main/java/com/fzm/common/service/impl/DraftServiceImpl.java
View file @
d2010f1b
...
@@ -116,6 +116,6 @@ public class DraftServiceImpl extends ServiceImpl<DraftMapper, Draft> implements
...
@@ -116,6 +116,6 @@ public class DraftServiceImpl extends ServiceImpl<DraftMapper, Draft> implements
Instant
instant
=
Instant
.
now
().
minus
(
Duration
.
ofMinutes
(
minutes
));
Instant
instant
=
Instant
.
now
().
minus
(
Duration
.
ofMinutes
(
minutes
));
QueryWrapper
<
Draft
>
queryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
Draft
>
queryWrapper
=
new
QueryWrapper
<>();
queryWrapper
.
le
(
"create_date"
,
instant
);
queryWrapper
.
le
(
"create_date"
,
instant
);
return
this
.
list
();
return
this
.
list
(
queryWrapper
);
}
}
}
}
joying-portal/src/main/java/com/fzm/portal/controller/CopyrightOwnerController.java
View file @
d2010f1b
...
@@ -58,6 +58,12 @@ public class CopyrightOwnerController {
...
@@ -58,6 +58,12 @@ public class CopyrightOwnerController {
return
ResponseModel
.
success
(
list
);
return
ResponseModel
.
success
(
list
);
}
}
@GetMapping
(
value
=
"/detail/{id}"
)
@ApiOperation
(
value
=
"获取著作权人详情"
)
public
ResponseModel
<
CopyrightOwner
>
getById
(
@PathVariable
Integer
id
)
{
return
ResponseModel
.
success
(
copyrightOwnerService
.
getById
(
id
));
}
@PostMapping
(
"/update"
)
@PostMapping
(
"/update"
)
@ApiOperation
(
value
=
"修改"
)
@ApiOperation
(
value
=
"修改"
)
public
ResponseModel
<
Boolean
>
update
(
@Validated
@RequestBody
CopyrightOwner
owner
)
{
public
ResponseModel
<
Boolean
>
update
(
@Validated
@RequestBody
CopyrightOwner
owner
)
{
...
...
joying-portal/src/main/resources/application.yml
View file @
d2010f1b
spring
:
spring
:
profiles
:
profiles
:
active
:
nj
active
:
dev
application
:
application
:
name
:
joying-portal
name
:
joying-portal
servlet
:
servlet
:
...
...
logs/logback.2022-02-18.0.log
0 → 100644
View file @
d2010f1b
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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