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