From c3ff81d78d2e0f6791141ea70c3aa90b2381a810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E7=88=B1=E5=AD=A6=E4=B9=A0=E7=9A=84=E7=9F=B3?= =?UTF-8?q?=E5=90=8C=E5=AD=A6?= <2936013465@qq.com> Date: Thu, 14 Nov 2024 20:02:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=A4=A7=E5=B1=8F=E5=90=8E?= =?UTF-8?q?=E7=AB=AF1.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supervision/controller/datav/DataGobalController.java | 1 - .../java/com/biutag/supervision/service/DataGobalService.java | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/biutag/supervision/controller/datav/DataGobalController.java b/src/main/java/com/biutag/supervision/controller/datav/DataGobalController.java index 5cd231e..cf3244c 100644 --- a/src/main/java/com/biutag/supervision/controller/datav/DataGobalController.java +++ b/src/main/java/com/biutag/supervision/controller/datav/DataGobalController.java @@ -37,7 +37,6 @@ public class DataGobalController { /** * 获取数据大屏总数概览 - * * @param beginTime * @param endTime * @return diff --git a/src/main/java/com/biutag/supervision/service/DataGobalService.java b/src/main/java/com/biutag/supervision/service/DataGobalService.java index df9df44..740b102 100644 --- a/src/main/java/com/biutag/supervision/service/DataGobalService.java +++ b/src/main/java/com/biutag/supervision/service/DataGobalService.java @@ -65,8 +65,10 @@ public class DataGobalService { Integer.parseInt(InspectCaseEnum.TRUE.getValue()), beginTime, endTime, 26); + Long totalPro = caseVerificationPro + supervisionPro + complaintPro + reviewPro + auditPro; JSONObject overview = new JSONObject(); - overview.fluentPut("caseVerificationPro", caseVerificationPro) + overview.fluentPut("totalPro", totalPro) + .fluentPut("caseVerificationPro", caseVerificationPro) .fluentPut("supervisionPro", supervisionPro) .fluentPut("complaintPro", complaintPro) .fluentPut("reviewPro", reviewPro)