|
@@ -132,9 +132,10 @@ public class RateController extends BaseController {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@GetMapping("/export/{id}")
|
|
@GetMapping("/export/{id}")
|
|
|
- public void export(HttpServletResponse response, @PathVariable Long id) {
|
|
|
|
|
|
|
+ public String export(HttpServletResponse response, @PathVariable Long id) {
|
|
|
Rate rate = rateRepo.findById(id).orElseThrow(new BusinessException("无申请"));
|
|
Rate rate = rateRepo.findById(id).orElseThrow(new BusinessException("无申请"));
|
|
|
rateService.export(response, rate);
|
|
rateService.export(response, rate);
|
|
|
|
|
+ return "ok";
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@GetMapping("/saveReviewTime")
|
|
@GetMapping("/saveReviewTime")
|