diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/EmergencyPlanController.java b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/EmergencyPlanController.java index 2529e30..3f5a22d 100644 --- a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/EmergencyPlanController.java +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/EmergencyPlanController.java @@ -53,15 +53,15 @@ public class EmergencyPlanController extends BladeController { return R.status(emergencyPlanService.save(req)); } -// /** -// * 修改 -// */ -// @PostMapping("/update") -// @ApiOperationSupport(order = 30) -// @ApiOperation(value = "修改", notes = "传入emergencyPlan") -// public R update(@Validated(Update.class) @RequestBody EmergencyPlanDTO req) { -// return R.status(emergencyPlanService.updateById(req)); -// } + /** + * 修改 + */ + @PostMapping("/update") + @ApiOperationSupport(order = 30) + @ApiOperation(value = "修改", notes = "传入emergencyPlan") + public R update(@RequestBody EmergencyPlanDTO req) { + return R.status(emergencyPlanService.updateById(req)); + } /** * 详情