From c427395d096da3df775a2fac9987bbcbd1f654fd Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期二, 15 九月 2026 17:40:00 +0800
Subject: [PATCH] 案例趋势相关统计
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceTotalsController.java | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 114 insertions(+), 0 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceTotalsController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceTotalsController.java
new file mode 100644
index 0000000..9cb71ac
--- /dev/null
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceTotalsController.java
@@ -0,0 +1,114 @@
+package com.ruoyi.web.controller.project;
+
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.Result;
+import com.ruoyi.common.core.page.TableDataInfo;
+import com.ruoyi.project.domain.ServiceTotals;
+import com.ruoyi.project.domain.vo.*;
+import com.ruoyi.project.service.iServiceTotalsService;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.List;
+
+@Api(description = "opo缁熻",tags = {"opo缁熻"})
+@RestController
+@RequestMapping("/opo/totals")
+public class ServiceTotalsController extends BaseController
+ {
+ @Autowired
+ private iServiceTotalsService service;
+
+ @ApiOperation("妗堜緥瓒嬪娍")
+ @PostMapping("/caseTrend")
+ public Result<List<ServiceTotalsTrend>> caseTrend(@RequestBody ServiceTotals totals)
+ {
+ List<ServiceTotalsTrend> list = service.caseTrend(totals);
+ return Result.success(list);
+ }
+
+ @ApiOperation("妗堜緥瓒嬪娍鏈堜唤")
+ @PostMapping("/caseTrendMoon")
+ public Result<List<ServiceTotalsTrend>> caseTrendMoon(@RequestBody ServiceTotals totals)
+ {
+ List<ServiceTotalsTrend> list = service.caseTrendMoon(totals);
+ return Result.success(list);
+ }
+
+ @ApiOperation("妗堜緥瓒嬪娍鍖哄煙")
+ @PostMapping("/caseTrendArea")
+ public Result<List<ServiceTotalsTrend>> caseTrendArea(@RequestBody ServiceTotals totals)
+ {
+ List<ServiceTotalsTrend> list = service.caseTrendArea(totals);
+ return Result.success(list);
+ }
+
+ @ApiOperation("鎹愮尞鍣ㄥ畼缁熻鏄庣粏")
+ @PostMapping("/organ")
+ public Result<List<ServiceTotalsOrgan>> organ(@RequestBody ServiceTotals totals)
+ {
+ List<ServiceTotalsOrgan> list = service.organ(totals);
+ return Result.success(list);
+ }
+
+ @ApiOperation("鍣ㄥ畼鑾峰彇/绉绘瓒嬪娍")
+ @PostMapping("/organMoon")
+ public Result<List<ServiceTotalsOrgan>> organMoon(@RequestBody ServiceTotals totals)
+ {
+ List<ServiceTotalsOrgan> list = service.organMoon(totals);
+ return Result.success(list);
+ }
+
+ @ApiOperation("鍣ㄥ畼绫诲瀷鍒嗗竷")
+ @PostMapping("/organType")
+ public Result<List<ServiceTotalsOrgan>> organType(@RequestBody ServiceTotals totals)
+ {
+ List<ServiceTotalsOrgan> list = service.organType(totals);
+ return Result.success(list);
+ }
+
+ @ApiOperation("鎹愮尞鑰呭勾榫勬�у埆鍒嗗竷")
+ @PostMapping("/caseSex")
+ public Result<List<ServiceTotalsSex>> caseSex(@RequestBody ServiceTotals totals)
+ {
+ List<ServiceTotalsSex> list = service.caseSex(totals);
+ return Result.success(list);
+ }
+
+ @ApiOperation("骞冲潎骞撮緞")
+ @PostMapping("/caseAvgAge")
+ public Result caseAvgAge(@RequestBody ServiceTotals totals)
+ {
+ List<ServiceTotals> list = service.caseAvgAge(totals);
+ return Result.success(list);
+ }
+
+ @ApiOperation("鎬у埆涓庤鍨嬪垎甯�")
+ @PostMapping("/caseBloodType")
+ public Result<List<ServiceTotalsBood>> caseBloodType(@RequestBody ServiceTotals totals)
+ {
+ List<ServiceTotalsBood> list = service.caseBloodType(totals);
+ return Result.success(list);
+ }
+
+ @ApiOperation("鎬绘綔鍦ㄦ�诲畬鎴愭暟缁熻")
+ @PostMapping("/totals")
+ public Result<List<ServiceTotalsTotal>> totals(@RequestBody ServiceTotals totals)
+ {
+ List<ServiceTotalsTotal> list = service.totals(totals);
+ return Result.success(list);
+ }
+
+ @ApiOperation("妗堜緥鏄庣粏鍒楄〃")
+ @PostMapping("/trendList")
+ public Result<List<trendList>> trendList(@RequestBody ServiceTotals totals)
+ {
+ List<trendList> list = service.trendList(totals);
+ return Result.success(list);
+ }
+}
--
Gitblit v1.9.3