|
|
|
@ -1,5 +1,11 @@
|
|
|
|
|
package com.hnac.hzims.operational.report.controller; |
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
|
import com.hnac.hzims.common.logs.annotation.OperationAnnotation; |
|
|
|
|
import com.hnac.hzims.common.logs.enums.BusinessType; |
|
|
|
|
import com.hnac.hzims.common.logs.enums.OperatorType; |
|
|
|
|
import com.hnac.hzims.operational.duty.entity.ImsDutyClassTypeEntity; |
|
|
|
|
import com.hnac.hzims.operational.main.constant.HomePageConstant; |
|
|
|
|
import com.hnac.hzims.operational.report.service.IDeptService; |
|
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
@ -7,6 +13,8 @@ import lombok.AllArgsConstructor;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
import org.springblade.core.boot.ctrl.BladeController; |
|
|
|
|
import org.springblade.core.log.annotation.ApiLog; |
|
|
|
|
import org.springblade.core.mp.support.Condition; |
|
|
|
|
import org.springblade.core.mp.support.Query; |
|
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
|
import org.springblade.system.entity.Dept; |
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
@ -53,4 +61,81 @@ public class DeptController extends BladeController {
|
|
|
|
|
} |
|
|
|
|
return R.data(deptService.selectArea(serveType,Collections.singletonList(type))); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@OperationAnnotation(moduleName = "集中监控", |
|
|
|
|
title = "集中监控", |
|
|
|
|
operatorType = OperatorType.MOBILE, |
|
|
|
|
businessType = BusinessType.GENCODE, |
|
|
|
|
action = "查询集中监控数据") |
|
|
|
|
@GetMapping("/internaldevice") |
|
|
|
|
public R internaldevice() { |
|
|
|
|
return R.success("查询集中监控数据成功"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@OperationAnnotation(moduleName = "综合调度", |
|
|
|
|
title = "综合调度", |
|
|
|
|
operatorType = OperatorType.MOBILE, |
|
|
|
|
businessType = BusinessType.GENCODE, |
|
|
|
|
action = "查询集中监控数据") |
|
|
|
|
@GetMapping("/comprehensive") |
|
|
|
|
public R comprehensive() { |
|
|
|
|
return R.success("查询综合调度成功"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@OperationAnnotation(moduleName = "实时监控", |
|
|
|
|
title = "实时监控", |
|
|
|
|
operatorType = OperatorType.MOBILE, |
|
|
|
|
businessType = BusinessType.GENCODE, |
|
|
|
|
action = "查询实时监控数据") |
|
|
|
|
@GetMapping("/monitoringBecause") |
|
|
|
|
public R monitoringBecause() { |
|
|
|
|
return R.success("查询实时监控成功"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@OperationAnnotation(moduleName = "视频监控", |
|
|
|
|
title = "视频监控", |
|
|
|
|
operatorType = OperatorType.MOBILE, |
|
|
|
|
businessType = BusinessType.GENCODE, |
|
|
|
|
action = "查询视频监控数据") |
|
|
|
|
@GetMapping("/surveillance") |
|
|
|
|
public R surveillance() { |
|
|
|
|
return R.success("查询视频监控成功"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@OperationAnnotation(moduleName = "演示大屏", |
|
|
|
|
title = "演示大屏", |
|
|
|
|
operatorType = OperatorType.MOBILE, |
|
|
|
|
businessType = BusinessType.GENCODE, |
|
|
|
|
action = "查询演示大屏数据") |
|
|
|
|
@GetMapping("/demonstrates") |
|
|
|
|
public R demonstrates() { |
|
|
|
|
return R.success("查询演示大屏成功"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@OperationAnnotation(moduleName = "生态监控", |
|
|
|
|
title = "生态监控", |
|
|
|
|
operatorType = OperatorType.MOBILE, |
|
|
|
|
businessType = BusinessType.GENCODE, |
|
|
|
|
action = "查询生态监控数据") |
|
|
|
|
@GetMapping("/ecological") |
|
|
|
|
public R ecological() { |
|
|
|
|
return R.success("查询生态监控成功"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@OperationAnnotation(moduleName = "气象监测", |
|
|
|
|
title = "气象监测", |
|
|
|
|
operatorType = OperatorType.MOBILE, |
|
|
|
|
businessType = BusinessType.GENCODE, |
|
|
|
|
action = "查询气象监测数据") |
|
|
|
|
@GetMapping("/monitoring") |
|
|
|
|
public R monitoring() { |
|
|
|
|
return R.success("查询气象监测成功"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|