From 2237bc8d0fd0aed40c7daf7398cb89c65a74b7ca Mon Sep 17 00:00:00 2001
From: zrj <646384940@qq.com>
Date: Thu, 31 Oct 2024 11:26:57 +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