|
@@ -0,0 +1,50 @@
|
|
|
+package com.sooka.sponest.event.emergency.inspectionrecord.controller;
|
|
|
+
|
|
|
+import com.ruoyi.common.core.domain.R;
|
|
|
+import com.ruoyi.common.core.web.controller.BaseController;
|
|
|
+import com.sooka.sponest.event.emergency.inspectionrecord.domain.CentereventTEmergencyInspectionrecord;
|
|
|
+import com.sooka.sponest.event.emergency.inspectionrecord.service.IEmergencyBigDataService;
|
|
|
+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.RestController;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
+/*
|
|
|
+* 可视化大数据控制器
|
|
|
+*
|
|
|
+* @author 韩福成
|
|
|
+* @date 2025/2/5 上午11:17
|
|
|
+*/
|
|
|
+@RestController
|
|
|
+@RequestMapping("/emergencybigdata")
|
|
|
+public class EmergencyBigDataController extends BaseController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private IEmergencyBigDataService emergencyBigDataService;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 巡检分析
|
|
|
+ */
|
|
|
+ @ApiOperation(value = "巡检分析",notes = "巡检分析")
|
|
|
+ @GetMapping("/getBigDataInspectionAnalysis")
|
|
|
+ public R<List<Map<String,Object>>> getBigDataInspectionAnalysis(CentereventTEmergencyInspectionrecord inspectionrecord){
|
|
|
+ return R.ok(emergencyBigDataService.getBigDataInspectionAnalysis(inspectionrecord));
|
|
|
+ }
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 巡检内容分析
|
|
|
+ *
|
|
|
+ * @author 韩福成
|
|
|
+ * @date 2025/2/5 下午1:17
|
|
|
+ */
|
|
|
+ @ApiOperation(value = "巡检内容分析",notes = "巡检内容分析")
|
|
|
+ @GetMapping("/getBigDataInspectionContent")
|
|
|
+ public R<List<Map<String,Object>>> getBigDataInspectionContent(CentereventTEmergencyInspectionrecord inspectionrecord){
|
|
|
+ return R.ok(emergencyBigDataService.getBigDataInspectionContent(inspectionrecord));
|
|
|
+ }
|
|
|
+
|
|
|
+}
|