|
|
|
@ -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)){ |
|
|
|
|