From a1272d78844574b86645149a0d8ca257c2b8fe91 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Thu, 26 Dec 2024 09:43:14 +0800
Subject: [PATCH] 风险源统计等级空的设置为其他
---
src/main/java/org/springblade/modules/yw/controller/RescueTeamController.java | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/src/main/java/org/springblade/modules/yw/controller/RescueTeamController.java b/src/main/java/org/springblade/modules/yw/controller/RescueTeamController.java
index 111ec2e..e7676c7 100644
--- a/src/main/java/org/springblade/modules/yw/controller/RescueTeamController.java
+++ b/src/main/java/org/springblade/modules/yw/controller/RescueTeamController.java
@@ -13,6 +13,7 @@
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springblade.modules.yw.excel.RescueTeamExcel;
+import org.springblade.modules.yw.vo.RiskSourceVO;
import org.springframework.web.bind.annotation.*;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.modules.yw.entity.RescueTeamEntity;
@@ -118,4 +119,16 @@
String data = rescueTeamService.importRescueTeam(ExcelUtil.read(file, RescueTeamExcel.class),isCovered == 1);
return R.data(200, data, data);
}
+
+ /**
+ * 救援队伍统计查询
+ * @param rescueTeam
+ * @return
+ */
+ @GetMapping("/getStatisticData")
+ @ApiOperationSupport(order = 9)
+ @ApiOperation(value = "救援队伍统计查询", notes = "")
+ public R getStatisticData(RescueTeamVO rescueTeam) {
+ return R.data(rescueTeamService.getStatisticData(rescueTeam));
+ }
}
--
Gitblit v1.9.3