Pārlūkot izejas kodu

预警规则

master
vecāks
revīzija
07ce9eb8c7
1 mainītis faili ar 1 papildinājumiem un 3 dzēšanām
  1. +1
    -3
      pmapi/src/main/java/com/ningdatech/pmapi/sys/controller/EarlyWarningController.java

+ 1
- 3
pmapi/src/main/java/com/ningdatech/pmapi/sys/controller/EarlyWarningController.java Parādīt failu

@@ -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
@@ -31,7 +29,7 @@ public class EarlyWarningController {

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



Notiek ielāde…
Atcelt
Saglabāt