|
|
@ -53,15 +53,15 @@ public class EmergencyPlanController extends BladeController { |
|
|
|
return R.status(emergencyPlanService.save(req)); |
|
|
|
return R.status(emergencyPlanService.save(req)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// /**
|
|
|
|
/** |
|
|
|
// * 修改
|
|
|
|
* 修改 |
|
|
|
// */
|
|
|
|
*/ |
|
|
|
// @PostMapping("/update")
|
|
|
|
@PostMapping("/update") |
|
|
|
// @ApiOperationSupport(order = 30)
|
|
|
|
@ApiOperationSupport(order = 30) |
|
|
|
// @ApiOperation(value = "修改", notes = "传入emergencyPlan")
|
|
|
|
@ApiOperation(value = "修改", notes = "传入emergencyPlan") |
|
|
|
// public R update(@Validated(Update.class) @RequestBody EmergencyPlanDTO req) {
|
|
|
|
public R update(@RequestBody EmergencyPlanDTO req) { |
|
|
|
// return R.status(emergencyPlanService.updateById(req));
|
|
|
|
return R.status(emergencyPlanService.updateById(req)); |
|
|
|
// }
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 详情 |
|
|
|
* 详情 |
|
|
|