From 74e4eb3c3782fda73ccaaa314d31aff492c7493e Mon Sep 17 00:00:00 2001 From: Lemon Date: Fri, 11 Aug 2023 14:45:07 +0800 Subject: [PATCH] =?UTF-8?q?update=20=20=E6=9F=A5=E8=AF=A2=E5=9C=B0?= =?UTF-8?q?=E9=94=81=E5=88=97=E8=A1=A8=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsowell/pile/service/impl/PileBasicInfoServiceImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileBasicInfoServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileBasicInfoServiceImpl.java index e21d68fb9..6011970b7 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileBasicInfoServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileBasicInfoServiceImpl.java @@ -731,9 +731,11 @@ public class PileBasicInfoServiceImpl implements IPileBasicInfoService { vo = new GroundLockInfoVO(); lockInfoList = new ArrayList<>(); String pileSn = entry.getKey(); + String pileName = ""; // String pileName = entry.getKey(); List list = entry.getValue(); for (PileConnectorInfoVO pileConnectorInfoVO : list) { + pileName = pileConnectorInfoVO.getName(); // 查地锁缓存状态,有缓存说明有地锁信息 String redisKey = CacheConstants.GROUND_LOCK_DATA + pileConnectorInfoVO.getPileConnectorCode(); GroundLockData data = redisCache.getCacheObject(redisKey); @@ -755,7 +757,7 @@ public class PileBasicInfoServiceImpl implements IPileBasicInfoService { .build()); } vo.setPileSn(pileSn); - // vo.setName(pileName); + vo.setName(pileName); vo.setLockInfos(lockInfoList); resultList.add(vo);