Browse Source

# 应急预案文件更新接口开放

zhongwei
haungxing 9 months ago
parent
commit
fb95c2619b
  1. 18
      hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/EmergencyPlanController.java

18
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));
}
/**
* 详情

Loading…
Cancel
Save