| | |
| | | package cn.gistack.sm.damSecurity.controller; |
| | | |
| | | import cn.gistack.nky.entity.AlarmGet; |
| | | import cn.gistack.nky.fegin.INkyClient; |
| | | import cn.gistack.nky.vo.AlarmGetVO; |
| | | import cn.gistack.nky.vo.PageVO; |
| | |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | |
| | | import java.util.HashMap; |
| | |
| | | return R.data(list); |
| | | } |
| | | |
| | | /** |
| | | * 预警状态修改 |
| | | * @param alarmGet |
| | | * @return |
| | | */ |
| | | @PostMapping("/update") |
| | | @ApiOperation(value = "大坝安全统计-预警状态修改", notes = "大坝安全统计-预警状态修改") |
| | | public R updateAlarmGet(AlarmGet alarmGet){ |
| | | return R.data(nkyClient.updateAlarmGet(alarmGet)); |
| | | } |
| | | |
| | | } |