Browse Source

预警规则

tags/24080901
parent
commit
511d82ce5d
1 changed files with 3 additions and 1 deletions
  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 View File

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


import java.util.List;

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


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




Loading…
Cancel
Save