|
@@ -79,7 +79,8 @@ public class RmsCapacityController extends BaseRESTfulController {
|
|
|
@ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "Short")
|
|
|
@PostMapping(value = "/deleteCapacity/{id}")
|
|
|
public RESTfulResult deleteCapacity(@PathVariable("id") BigDecimal id){
|
|
|
- return success(rmsCapacityService.deleteCapacity(id));
|
|
|
+ int s = rmsCapacityService.deleteCapacity(id);
|
|
|
+ return success(s);
|
|
|
}
|
|
|
|
|
|
/**
|