浏览代码

预警规则 保存

tags/24080901
父节点
当前提交
306d576d56
共有 1 个文件被更改,包括 3 次插入5 次删除
  1. +3
    -5
      pmapi/src/main/java/com/ningdatech/pmapi/sys/controller/EarlyWarningController.java

+ 3
- 5
pmapi/src/main/java/com/ningdatech/pmapi/sys/controller/EarlyWarningController.java 查看文件

@@ -11,8 +11,6 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
* @Classname EarlyWarningController
* @Description
@@ -30,9 +28,9 @@ public class EarlyWarningController {
private final IEarlyWarningService earlyWarningService;

@ApiOperation(value = "预警规则获取", notes = "预警规则获取")
@GetMapping("/detail/{areaCode}")
public List<WflowEarlyWarningVO> detail(@PathVariable String areaCode) {
return earlyWarningService.detailByRegion(areaCode);
@GetMapping("/detail/{regionCode}")
public WflowEarlyWarningVO detail(@PathVariable String regionCode) {
return earlyWarningService.detailByRegion(regionCode);
}

@ApiOperation(value = "预警规则保存", notes = "预警规则保存")


正在加载...
取消
保存