From fb95c2619b31e0fbd006aeb2c15c7071f4b01bfe Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Tue, 12 Mar 2024 18:53:37 +0800 Subject: [PATCH] =?UTF-8?q?#=20=E5=BA=94=E6=80=A5=E9=A2=84=E6=A1=88?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=9B=B4=E6=96=B0=E6=8E=A5=E5=8F=A3=E5=BC=80?= =?UTF-8?q?=E6=94=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/EmergencyPlanController.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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)); + } /** * 详情