| | |
| | | import cn.gistack.sm.damSecurity.service.IDamSecurityService; |
| | | import cn.gistack.sm.damSecurity.vo.DamSecurityStatistics; |
| | | import cn.gistack.sm.damSecurity.vo.DamStationStatistics; |
| | | import cn.gistack.sm.damSecurity.vo.DamStatisticsRes; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | 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 springfox.documentation.annotations.ApiIgnore; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | |
| | | @Slf4j |
| | |
| | | return R.data(list); |
| | | } |
| | | |
| | | /** |
| | | * 业务一张图 大坝安全监测 |
| | | * @param adCode |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "大坝安全统计-大坝安全监测", notes = "大坝安全统计-大坝安全监测") |
| | | @GetMapping(value = "/damResInfoCount") |
| | | public R damResInfoCount(String adCode){ |
| | | List<DamStatisticsRes> list = damSecurityService.damResInfoCount(adCode); |
| | | return R.data(list); |
| | | } |
| | | |
| | | /** |
| | | * 业务一张图 大坝安全监测(地图) |
| | | * @param obj(adCode :行政区划;type:监测类型;status :状态 1全部;2正常;3异常) |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "大坝安全统计-大坝安全监测(地图)", notes = "大坝安全统计-大坝安全监测(地图)") |
| | | @GetMapping(value = "/damResInfoCountMap") |
| | | public R damResInfoCountMap(@ApiIgnore @RequestParam HashMap<String, String> obj){ |
| | | List<DamStationStatistics> list = damSecurityService.damResInfoCountMap(obj); |
| | | return R.data(list); |
| | | } |
| | | |
| | | } |