考核删除接口

master
pd 4 years ago
parent 61296d8ad4
commit 04b1a87f8b
  1. 6
      src/main/java/com/yipin/liuwanr/controller/AssesmentController.java

@ -331,7 +331,7 @@ public class AssesmentController {
* @return
*/
@GetMapping("/getByclass")
Response getByclass(Integer assesmentId) {
Response getByclass(@RequestParam Integer assesmentId) {
Response resp = new Response();
if(StringUtils.isEmpty(assesmentId)){
resp.setStatus(300);
@ -483,8 +483,8 @@ public class AssesmentController {
return resp;
}
@DeleteMapping("/deleteAssesment")
Response deleteAssesment(@RequestParam Assesment assesment){
@PostMapping("/deleteAssesment")
Response deleteAssesment(@RequestBody Assesment assesment){
Response resp = new Response();
Integer assesmentId=assesment.getId();
if(StringUtils.isEmpty(assesmentId)){

Loading…
Cancel
Save