Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
DocumentationGroup
DocumentationBackend
Commits
941c5c56
Commit
941c5c56
authored
1 year ago
by
Степан Бабаков
Browse files
Options
Downloads
Patches
Plain Diff
подправил вывод спец. дисциплин
parent
f6ce4941
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!3
Выкатка на прод
Pipeline
#563
passed with stage
in 2 minutes and 13 seconds
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/com/documentation/volume/controller/VolumeController.java
+2
-3
...com/documentation/volume/controller/VolumeController.java
src/main/java/com/documentation/volume/service/VolumeGenerateServiceImpl.java
+142
-144
...cumentation/volume/service/VolumeGenerateServiceImpl.java
with
144 additions
and
147 deletions
src/main/java/com/documentation/volume/controller/VolumeController.java
+
2
−
3
View file @
941c5c56
...
...
@@ -38,14 +38,13 @@ public class VolumeController {
public
ResponseEntity
<
List
<
VolumeGeneralDTO
>>
read
(
@PathVariable
(
"versionID"
)
Long
id
){
final
List
<
VolumeGeneralDTO
>
volumeListDto
=
volumeService
.
read
(
id
);
ResponseEntity
<
List
<
VolumeGeneralDTO
>>
listResponseEntity
=
volumeListDto
!=
null
return
volumeListDto
!=
null
?
new
ResponseEntity
<>((
List
)
volumeListDto
,
HttpStatus
.
OK
)
:
new
ResponseEntity
<>(
HttpStatus
.
NOT_FOUND
);
return
listResponseEntity
;
}
@Operation
(
summary
=
"Получить документ объемы"
)
@ApiResponses
(
value
=
{
@ApiResponse
(
responseCode
=
"20
0
"
,
description
=
"файл сформирован"
,
@ApiResponse
(
responseCode
=
"20
1
"
,
description
=
"файл сформирован"
,
content
=
{
@Content
(
mediaType
=
"application/json"
,
schema
=
@Schema
(
implementation
=
FileExcelDto
.
class
))
}),
@ApiResponse
(
responseCode
=
"404"
,
description
=
"файл не сформирован"
,
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/documentation/volume/service/VolumeGenerateServiceImpl.java
+
142
−
144
View file @
941c5c56
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets