Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jty-wsxt
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
aye
jty-wsxt
Commits
c58b9da6
Commit
c58b9da6
authored
Jun 22, 2019
by
aye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码提交
parent
37bba362
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
service-paper/src/main/java/com/jty/wsxt/interfaces/controller/PaperController.java
+18
-0
No files found.
service-paper/src/main/java/com/jty/wsxt/interfaces/controller/PaperController.java
View file @
c58b9da6
...
@@ -57,6 +57,24 @@ public class PaperController {
...
@@ -57,6 +57,24 @@ public class PaperController {
return
Result
.
success
(
paper
.
cashToPaperDto
());
return
Result
.
success
(
paper
.
cashToPaperDto
());
}
}
@GetMapping
(
"/paper/download-first-feedback/{paperId}"
)
public
Result
downloadFirstFeedback
(
@PathVariable
Integer
paperId
){
Paper
paper
=
ApplicationRegistry
.
paperService
().
findPaperDetailById
(
paperId
);
return
Result
.
success
(
paper
.
cashToPaperDto
());
}
@GetMapping
(
"/paper/download-second-feedback/{paperId}"
)
public
Result
downloadSecondFeedback
(
@PathVariable
Integer
paperId
){
Paper
paper
=
ApplicationRegistry
.
paperService
().
findPaperDetailById
(
paperId
);
return
Result
.
success
(
paper
.
cashToPaperDto
());
}
@GetMapping
(
"/paper/download-answer/{paperId}"
)
public
Result
downloadAnswer
(
@PathVariable
Integer
paperId
){
Paper
paper
=
ApplicationRegistry
.
paperService
().
findPaperDetailById
(
paperId
);
return
Result
.
success
(
paper
.
cashToPaperDto
());
}
@DeleteMapping
(
"/paper/{paperId}"
)
@DeleteMapping
(
"/paper/{paperId}"
)
public
Result
deletePaper
(
@PathVariable
Integer
paperId
){
public
Result
deletePaper
(
@PathVariable
Integer
paperId
){
ApplicationRegistry
.
paperService
().
deletePaper
(
paperId
);
ApplicationRegistry
.
paperService
().
deletePaper
(
paperId
);
...
...
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