|
@@ -2,6 +2,7 @@ package com.care.bigscreen.controller;
|
|
|
|
|
|
|
|
|
import com.care.bigscreen.service.StStationService;
|
|
|
+import com.care.bigscreen.vo.BigScreenStationVO;
|
|
|
import com.care.bigscreen.vo.BigScreenStatisticsVO;
|
|
|
|
|
|
import com.care.util.Result;
|
|
@@ -120,14 +121,53 @@ public class StStationController {
|
|
|
@ApiImplicitParam(name = "orgId", value = "机构ID", dataTypeClass = Long.class)
|
|
|
}
|
|
|
)
|
|
|
- public Result<List<BigScreenStatisticsVO>> selectBigScreenStationList(Long orgId) {
|
|
|
+ public Result<List<BigScreenStationVO>> selectBigScreenStationList(Long orgId) {
|
|
|
try {
|
|
|
- List<BigScreenStatisticsVO> bigScreenStatisticsVOList = stStationService.selectBigScreenStationList(orgId);
|
|
|
- return Result.success(bigScreenStatisticsVOList);
|
|
|
+ List<BigScreenStationVO> bigScreenStationVOList = stStationService.selectBigScreenStationList(orgId);
|
|
|
+ return Result.success(bigScreenStationVOList);
|
|
|
} catch (Exception e) {
|
|
|
log.error("站点列表查询出现异常",e);
|
|
|
return Result.error("系统错误,站点列表查询失败");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 站点列表用户数TOP5查询
|
|
|
+ */
|
|
|
+ @ApiOperation(value = "站点列表用户数TOP5查询", notes = "站点列表用户数TOP5查询")
|
|
|
+ @GetMapping("/selectBigScreenStationListOlderTop5")
|
|
|
+ @ApiImplicitParams(
|
|
|
+ {
|
|
|
+ @ApiImplicitParam(name = "orgId", value = "机构ID", dataTypeClass = Long.class)
|
|
|
+ }
|
|
|
+ )
|
|
|
+ public Result<List<BigScreenStationVO>> selectBigScreenStationListOlderTop5(Long orgId) {
|
|
|
+ try {
|
|
|
+ List<BigScreenStationVO> bigScreenStationVOList = stStationService.selectBigScreenStationListOlderTop5(orgId);
|
|
|
+ return Result.success(bigScreenStationVOList);
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("站点列表查询出现异常",e);
|
|
|
+ return Result.error("系统错误,站点列表查询失败");
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 站点列表安全事件TOP5查询
|
|
|
+ */
|
|
|
+ @ApiOperation(value = "站点列表安全事件TOP5查询", notes = "站点列表安全事件TOP5查询")
|
|
|
+ @GetMapping("/selectBigScreenStationListEventTop5")
|
|
|
+ @ApiImplicitParams(
|
|
|
+ {
|
|
|
+ @ApiImplicitParam(name = "orgId", value = "机构ID", dataTypeClass = Long.class)
|
|
|
+ }
|
|
|
+ )
|
|
|
+ public Result<List<BigScreenStationVO>> selectBigScreenStationListEventTop5(Long orgId) {
|
|
|
+ try {
|
|
|
+ List<BigScreenStationVO> bigScreenStationVOList = stStationService.selectBigScreenStationListEventTop5(orgId);
|
|
|
+ return Result.success(bigScreenStationVOList);
|
|
|
+ } catch (Exception e) {
|
|
|
+ log.error("站点列表查询出现异常",e);
|
|
|
+ return Result.error("系统错误,站点列表查询失败");
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|