From d5a5416a0e4b1e52c7805e3efc28eec40ab95782 Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期一, 21 九月 2026 16:41:50 +0800
Subject: [PATCH] 捐献器官统计明细列表
---
ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceTotalsServiceImp.java | 83 ++++++++++++++++++++++++++++++++++-------
1 files changed, 69 insertions(+), 14 deletions(-)
diff --git a/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceTotalsServiceImp.java b/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceTotalsServiceImp.java
index 9771445..24aa9aa 100644
--- a/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceTotalsServiceImp.java
+++ b/ruoyi-project/src/main/java/com/ruoyi/project/service/impl/ServiceTotalsServiceImp.java
@@ -2,6 +2,7 @@
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.project.domain.ServiceTotals;
+import com.ruoyi.project.domain.vo.*;
import com.ruoyi.project.mapper.ServiceTotalsMapper;
import com.ruoyi.project.service.iServiceTotalsService;
import org.apache.commons.lang3.ObjectUtils;
@@ -21,7 +22,7 @@
*
*/
@Override
- public List<ServiceTotals> caseTrend(ServiceTotals totals) {
+ public List<ServiceTotalsTrend> caseTrend(ServiceTotals totals) {
if(ObjectUtils.isNotEmpty(totals.getAgeGroup())){
switch (totals.getAgeGroup()) {
case "1": totals.setAgeGroup(" and age<=17 "); break;
@@ -38,7 +39,7 @@
*
*/
@Override
- public List<ServiceTotals> caseTrendMoon(ServiceTotals totals) {
+ public List<ServiceTotalsTrend> caseTrendMoon(ServiceTotals totals) {
return mapper.caseTrendMoon(totals);
}
@@ -47,7 +48,7 @@
*
*/
@Override
- public List<ServiceTotals> caseTrendArea(ServiceTotals totals) {
+ public List<ServiceTotalsTrend> caseTrendArea(ServiceTotals totals) {
return mapper.caseTrendArea(totals);
}
@@ -56,8 +57,8 @@
*
*/
@Override
- public List<ServiceTotals> organ(ServiceTotals totals) {
- return mapper.caseTrendArea(totals);
+ public List<ServiceTotalsOrgan> organ(ServiceTotals totals) {
+ return mapper.organ(totals);
}
/**
@@ -65,8 +66,8 @@
*
*/
@Override
- public List<ServiceTotals> organMoon(ServiceTotals totals) {
- return mapper.caseTrendArea(totals);
+ public List<ServiceTotalsOrgan> organMoon(ServiceTotals totals) {
+ return mapper.organMoon(totals);
}
/**
@@ -74,8 +75,8 @@
*
*/
@Override
- public List<ServiceTotals> organType(ServiceTotals totals) {
- return mapper.caseTrendArea(totals);
+ public List<ServiceTotalsOrgan> organType(ServiceTotals totals) {
+ return mapper.organType(totals);
}
/**
@@ -83,8 +84,8 @@
*
*/
@Override
- public List<ServiceTotals> caseSex(ServiceTotals totals) {
- return mapper.caseTrendArea(totals);
+ public List<ServiceTotalsSex> caseSex(ServiceTotals totals) {
+ return mapper.caseSex(totals);
}
/**
@@ -93,15 +94,69 @@
*/
@Override
public List<ServiceTotals> caseAvgAge(ServiceTotals totals) {
- return mapper.caseTrendArea(totals);
+ return mapper.caseAvgAge(totals);
}
/**
* 鎬у埆涓庤鍨嬪垎甯�
*
*/
@Override
- public List<ServiceTotals> caseBloodType(ServiceTotals totals) {
- return mapper.caseTrendArea(totals);
+ public List<ServiceTotalsBood> caseBloodType(ServiceTotals totals) {
+ return mapper.caseBloodType(totals);
+ }
+
+ /**
+ * 鎬у埆涓庤鍨嬪垎甯�
+ *
+ */
+ @Override
+ public List<ServiceTotalsTotal> totals(ServiceTotals totals) {
+ return mapper.totals(totals);
+ }
+
+ /**
+ * 妗堜緥鏄庣粏鍒楄〃
+ *
+ */
+ @Override
+ public List<trendList> trendList(ServiceTotals totals) {
+ return mapper.trendList(totals);
+ }
+
+ /**
+ * 妗堜緥鏄庣粏鏁伴噺
+ *
+ */
+ @Override
+ public Long trendCount(ServiceTotals totals) {
+ return mapper.trendCount(totals);
+ }
+
+ /**
+ * 鍣ㄧ绉绘鎬荤粺璁�
+ *
+ */
+ @Override
+ public List<ServiceTotalsOrganTotals> organTotals(ServiceTotals totals) {
+ return mapper.organTotals(totals);
+ }
+
+ /**
+ * 鎹愮尞鍣ㄥ畼缁熻鏄庣粏鍒楄〃
+ *
+ */
+ @Override
+ public List<organList> organList(ServiceTotals totals) {
+ return mapper.organList(totals);
+ }
+
+ /**
+ * 鎹愮尞鍣ㄥ畼缁熻鏄庣粏鏁伴噺
+ *
+ */
+ @Override
+ public Long organCount(ServiceTotals totals) {
+ return mapper.organCount(totals);
}
}
--
Gitblit v1.9.3