changes.
This commit is contained in:
parent
e686830f1d
commit
d6abee2cab
@ -24,8 +24,8 @@ public class DocumentsController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("gek-questions")
|
@GetMapping("gek-questions")
|
||||||
public ResponseEntity<ByteArrayResource> getQuestions(@RequestParam Long id, @RequestParam String studyForm) {
|
public ResponseEntity<ByteArrayResource> getQuestions(@RequestParam Long id) {
|
||||||
byte[] document = documentsService.getQuestionsDocument(id, studyForm);
|
byte[] document = documentsService.getQuestionsDocument(id, "Очная");
|
||||||
return returnFile(document, "BLANK_VOPROSOV_GEK.docx");
|
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