|
@@ -28,9 +28,9 @@ public class EarlyWarningController { |
|
|
private final IEarlyWarningService earlyWarningService; |
|
|
private final IEarlyWarningService earlyWarningService; |
|
|
|
|
|
|
|
|
@ApiOperation(value = "预警规则获取", notes = "预警规则获取") |
|
|
@ApiOperation(value = "预警规则获取", notes = "预警规则获取") |
|
|
@GetMapping("/detail/{regionCode}") |
|
|
|
|
|
public WflowEarlyWarningVO detail(@PathVariable String regionCode) { |
|
|
|
|
|
return earlyWarningService.detailByRegion(regionCode); |
|
|
|
|
|
|
|
|
@GetMapping("/detail/{areaCode}") |
|
|
|
|
|
public WflowEarlyWarningVO detail(@PathVariable String areaCode) { |
|
|
|
|
|
return earlyWarningService.detailByRegion(areaCode); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@ApiOperation(value = "预警规则保存", notes = "预警规则保存") |
|
|
@ApiOperation(value = "预警规则保存", notes = "预警规则保存") |
|
|