package com.gunshi.project.ss.controller; import com.gunshi.core.result.R; import com.gunshi.project.ss.entity.vo.ScreenRsvrVo; import com.gunshi.project.ss.service.ScreenMoniotrService; import io.swagger.v3.oas.annotations.tags.Tag; 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.RestController; import java.util.List; @Tag(name = "大屏-管控全天候") @RestController @RequestMapping(value="/screen/monitoring") public class ScreenMoniotrController { @Autowired private ScreenMoniotrService screenMoniotrService; //水库水情 @GetMapping("/rsvr") public R> getScreenRsvr(){ List res = screenMoniotrService.getScreenRsvr(); return R.ok(res); } }