From 64f046ed41c2ae607dc065c82b6d454f64e90584 Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期四, 19 六月 2025 21:52:33 +0800 Subject: [PATCH] 预警分析管理-电源告警 --- src/main/java/com/whyc/service/BattInfService.java | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/whyc/service/BattInfService.java b/src/main/java/com/whyc/service/BattInfService.java index ff303f2..85a382e 100644 --- a/src/main/java/com/whyc/service/BattInfService.java +++ b/src/main/java/com/whyc/service/BattInfService.java @@ -4,8 +4,7 @@ import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; -import com.whyc.constant.Capperformance; -import com.whyc.constant.PowerAlarmEnum; +import com.whyc.constant.BattCapperformanceEnum; import com.whyc.dto.BattDto; import com.whyc.dto.InfoDto; import com.whyc.dto.Param.ParamAlmDto; @@ -450,7 +449,7 @@ } //鑾峰彇瀹归噺鎬ц兘(涓嬫媺) public Response getCapperformance() { - Map<Integer,String> map= Capperformance.getOpInfo(); + Map<Integer,String> map= BattCapperformanceEnum.getOpInfo(); return new Response().setII(1,true,map,"鑾峰彇瀹归噺鎬ц兘(涓嬫媺)"); } //钃勭數姹犵粍瀵规瘮鍒嗘瀽鐣岄潰16 @@ -492,7 +491,7 @@ return new Response().setII(1,list.size()>0,list,"鑾峰彇绔欑偣涓嬬殑鐢垫睜缁�(涓嬫媺)"); } //鏍规嵁鏌ヨ鏉′欢鑾峰彇鐢垫睜缁勯泦鍚� - public List<Integer> getBattgroupIdList(ParamAlmDto dto) { - return mapper.getBattgroupIdList(dto); + public BattInf getBattgroupIdList(Integer battgroupId) { + return mapper.getBattgroupIdList(battgroupId); } } \ No newline at end of file -- Gitblit v1.9.1