考核删除接口

master
pd 4 years ago
parent 580c609af0
commit 0b096e02d2
  1. 3
      src/main/java/com/yipin/liuwanr/controller/AssesmentController.java

@ -484,8 +484,9 @@ public class AssesmentController {
} }
@DeleteMapping("/deleteAssesment") @DeleteMapping("/deleteAssesment")
Response deleteAssesment(@RequestParam Integer assesmentId){ Response deleteAssesment(@RequestParam Assesment assesment){
Response resp = new Response(); Response resp = new Response();
Integer assesmentId=assesment.getId();
if(StringUtils.isEmpty(assesmentId)){ if(StringUtils.isEmpty(assesmentId)){
resp.setStatus(300); resp.setStatus(300);
resp.setErrmessage("考核信息为空"); resp.setErrmessage("考核信息为空");

Loading…
Cancel
Save