From f127214ad1076769c9cb4a97963ee3ad5053e970 Mon Sep 17 00:00:00 2001 From: whycxzp <glperry@163.com> Date: 星期二, 18 三月 2025 10:15:47 +0800 Subject: [PATCH] 锂电设备A200相关代码更新 --- src/main/java/com/whyc/webSocket/DevLithiumStatisticSocket.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/whyc/webSocket/DevLithiumStatisticSocket.java b/src/main/java/com/whyc/webSocket/DevLithiumStatisticSocket.java index 295a58d..ca56187 100644 --- a/src/main/java/com/whyc/webSocket/DevLithiumStatisticSocket.java +++ b/src/main/java/com/whyc/webSocket/DevLithiumStatisticSocket.java @@ -4,7 +4,7 @@ import com.whyc.dto.Response; import com.whyc.factory.ThreadPoolExecutorFactory; import com.whyc.pojo.db_user.UserInf; -import com.whyc.service.BattTestDataInfService; +import com.whyc.service.BattLithiumTestDataInfService; import com.whyc.service.DevLithiumInfService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @@ -32,7 +32,7 @@ private static DevLithiumInfService devLithiumInfService; - private static BattTestDataInfService battTestDataInfService; + private static BattLithiumTestDataInfService battLithiumTestDataInfService; private HttpSession httpSession; @@ -43,8 +43,8 @@ } @Autowired - public void setBattTestDataInfService(BattTestDataInfService battTestDataInfService) { - DevLithiumStatisticSocket.battTestDataInfService = battTestDataInfService; + public void setBattTestDataInfService(BattLithiumTestDataInfService battLithiumTestDataInfService) { + DevLithiumStatisticSocket.battLithiumTestDataInfService = battLithiumTestDataInfService; } @@ -79,7 +79,7 @@ CountDownLatch latch = new CountDownLatch(3); //鍏呮斁鐢典竴浣撴満娴嬭瘯缁熻/閿傜數鍧囪 浠祴璇曠粺璁� poolExecutor.execute(() -> { - Map<String,Object> lithiumTestInfMap = battTestDataInfService.getDevTinfByYearMonth(userId); + Map<String,Object> lithiumTestInfMap = battLithiumTestDataInfService.getDevTinfByYearMonth(userId); map.put("lithiumTestInf",lithiumTestInfMap); latch.countDown(); }); @@ -91,7 +91,7 @@ }); //杩戜竴鍛ㄧ數姹犳祴璇曡秼鍔跨粺璁�(浠庡綋鍓嶆椂闂村紑濮�) poolExecutor.execute(() -> { - Map<String,Object> devTestByWeekMap=battTestDataInfService.getDevTinfByWeek(userId); + Map<String,Object> devTestByWeekMap= battLithiumTestDataInfService.getDevTinfByWeek(userId); map.put("devLithiumTestByWeek",devTestByWeekMap); latch.countDown(); }); -- Gitblit v1.9.1