|
|
@@ -114,6 +114,12 @@ public class RateController extends BaseController {
|
|
|
rateService.audit(id, status, remark, SecurityUtils.getAuthenticatedUser().getId());
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/offline")
|
|
|
+ public void offline(@RequestParam Long id) {
|
|
|
+ rateService.offline(id);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
@GetMapping(value = "/export/{id}", produces = "application/msword;charset=utf-8")
|
|
|
public String export(@PathVariable Long id) {
|
|
|
Rate rate = rateRepo.findById(id).orElseThrow(new BusinessException("无记录"));
|