changes.
This commit is contained in:
parent
e686830f1d
commit
d6abee2cab
@ -24,8 +24,8 @@ public class DocumentsController {
|
||||
}
|
||||
|
||||
@GetMapping("gek-questions")
|
||||
public ResponseEntity<ByteArrayResource> getQuestions(@RequestParam Long id, @RequestParam String studyForm) {
|
||||
byte[] document = documentsService.getQuestionsDocument(id, studyForm);
|
||||
public ResponseEntity<ByteArrayResource> getQuestions(@RequestParam Long id) {
|
||||
byte[] document = documentsService.getQuestionsDocument(id, "Очная");
|
||||
return returnFile(document, "BLANK_VOPROSOV_GEK.docx");
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
BIN
server/src/main/resources/doc_templates/questions_template.docx
Normal file
BIN
server/src/main/resources/doc_templates/questions_template.docx
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user