From 89ecabadf4dab68b045c3911cf5bc083809417bf Mon Sep 17 00:00:00 2001 From: hxh Date: Tue, 11 Mar 2025 14:43:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=9A=E4=B9=89=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yxgh/common/enums/StaticIndexEnum.java | 31 +++++++++++++------ 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/shuili-system/src/main/java/com/kms/yxgh/common/enums/StaticIndexEnum.java b/shuili-system/src/main/java/com/kms/yxgh/common/enums/StaticIndexEnum.java index 0da4f9bf..187687fe 100644 --- a/shuili-system/src/main/java/com/kms/yxgh/common/enums/StaticIndexEnum.java +++ b/shuili-system/src/main/java/com/kms/yxgh/common/enums/StaticIndexEnum.java @@ -1,11 +1,8 @@ package com.kms.yxgh.common.enums; -import com.kms.yxgh.common.mapper.ApprovalObjRolesMapper; import com.kms.yxgh.common.service.Statistic; -import com.shuili.common.utils.SpringUtils; import lombok.Getter; -import java.util.Collections; import java.util.HashMap; import java.util.Map; @@ -34,18 +31,34 @@ public enum StaticIndexEnum { map.put("2024/05/22", "17"); return map; }, "个", "0"), - DF_YH_ADCD_SUM("缺陷数量", sp -> { - - ApprovalObjRolesMapper mapper = SpringUtils.getBean(ApprovalObjRolesMapper.class); + DF_YH_ADCD_SUM("养护次数", sp -> { + Map map = new HashMap<>(); + map.put("2024/05/20", "12"); + map.put("2024/05/21", "15"); + map.put("2024/05/22", "17"); + return map; + }, "个", "0"), + DF_PROJECT_ADCD_SUM("工程数量", sp -> { + Map map = new HashMap<>(); + map.put("2024/05/20", "12"); + map.put("2024/05/21", "15"); + map.put("2024/05/22", "17"); + return map; + }, "个", "0"), + DF_CHECKING_ADCD_SUM("工程巡查", sp -> { + Map map = new HashMap<>(); + map.put("2024/05/20", "12"); + map.put("2024/05/21", "15"); + map.put("2024/05/22", "17"); + return map; + }, "个", "0"), + DF_JD_ADCD_SUM("机电巡查", sp -> { Map map = new HashMap<>(); map.put("2024/05/20", "12"); map.put("2024/05/21", "15"); map.put("2024/05/22", "17"); return map; }, "个", "0"), - DF_PROJECT_ADCD_SUM("工程数量", sp -> Collections.emptyMap(), "个", "0"), - DF_CHECKING_ADCD_SUM("工程巡查", sp -> Collections.emptyMap(), "个", "0"), - DF_JD_ADCD_SUM("机电巡查", sp -> Collections.emptyMap(), "个", "0"), ;