|
@@ -12,6 +12,7 @@ import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import java.util.List;
|
|
|
|
|
|
|
|
|
/**
|
|
@@ -86,9 +87,9 @@ public class StStationController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 根据经纬度查询
|
|
|
+ * 根据经纬度查询统计值
|
|
|
*/
|
|
|
- @ApiOperation(value = "根据经纬度查询", notes = "根据经纬度查询")
|
|
|
+ @ApiOperation(value = "根据经纬度查询统计值", notes = "根据经纬度查询统计值")
|
|
|
@GetMapping("/selectBigScreenStatisticsByLongitudeLatitude")
|
|
|
@ApiImplicitParams(
|
|
|
{
|
|
@@ -109,4 +110,24 @@ public class StStationController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 站点列表查询
|
|
|
+ */
|
|
|
+ @ApiOperation(value = "站点列表查询", notes = "站点列表查询")
|
|
|
+ @GetMapping("/selectBigScreenStationList")
|
|
|
+ @ApiImplicitParams(
|
|
|
+ {
|
|
|
+ @ApiImplicitParam(name = "orgId", value = "机构ID", dataTypeClass = Long.class)
|
|
|
+ }
|
|
|
+ )
|
|
|
+ public Result<List<BigScreenStatisticsVO>> selectBigScreenStationList(Long orgId) {
|
|
|
+ try {
|
|
|
+ List<BigScreenStatisticsVO> bigScreenStatisticsVOList = stStationService.selectBigScreenStationList(orgId);
|
|
|
+ return Result.success(bigScreenStatisticsVOList);
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("站点列表查询出现异常",e);
|
|
|
+ return Result.error("系统错误,站点列表查询失败");
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
}
|