|
@@ -81,14 +81,14 @@ public class TrainingDemandController {
|
|
|
return trainingDemandService.submit(trainingDemandVoList);
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/paper")
|
|
|
+ @PostMapping("/paper")
|
|
|
public void generatePaper(@RequestParam(name = "surveyId") String surveyId,
|
|
|
HttpServletResponse response) {
|
|
|
log.info("开始生成培训问卷");
|
|
|
exportTrainingDemandService.generatePaper(surveyId, response);
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/user/paper")
|
|
|
+ @PostMapping("/user/paper")
|
|
|
public void generateUserPaper(@RequestParam(name = "surveyId") String surveyId,
|
|
|
@RequestParam(name = "userId") String userId,
|
|
|
HttpServletResponse response) {
|