瀏覽代碼

预警规则

master
父節點
當前提交
07913b1e97
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/sys/controller/EarlyWarningController.java

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

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

import java.util.List;

/**
* @Classname EarlyWarningController
* @Description
@@ -29,7 +31,7 @@ public class EarlyWarningController {

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



Loading…
取消
儲存