mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-08 03:50:13 +08:00
update 查询地锁列表接口
This commit is contained in:
@@ -731,9 +731,11 @@ public class PileBasicInfoServiceImpl implements IPileBasicInfoService {
|
|||||||
vo = new GroundLockInfoVO();
|
vo = new GroundLockInfoVO();
|
||||||
lockInfoList = new ArrayList<>();
|
lockInfoList = new ArrayList<>();
|
||||||
String pileSn = entry.getKey();
|
String pileSn = entry.getKey();
|
||||||
|
String pileName = "";
|
||||||
// String pileName = entry.getKey();
|
// String pileName = entry.getKey();
|
||||||
List<PileConnectorInfoVO> list = entry.getValue();
|
List<PileConnectorInfoVO> list = entry.getValue();
|
||||||
for (PileConnectorInfoVO pileConnectorInfoVO : list) {
|
for (PileConnectorInfoVO pileConnectorInfoVO : list) {
|
||||||
|
pileName = pileConnectorInfoVO.getName();
|
||||||
// 查地锁缓存状态,有缓存说明有地锁信息
|
// 查地锁缓存状态,有缓存说明有地锁信息
|
||||||
String redisKey = CacheConstants.GROUND_LOCK_DATA + pileConnectorInfoVO.getPileConnectorCode();
|
String redisKey = CacheConstants.GROUND_LOCK_DATA + pileConnectorInfoVO.getPileConnectorCode();
|
||||||
GroundLockData data = redisCache.getCacheObject(redisKey);
|
GroundLockData data = redisCache.getCacheObject(redisKey);
|
||||||
@@ -755,7 +757,7 @@ public class PileBasicInfoServiceImpl implements IPileBasicInfoService {
|
|||||||
.build());
|
.build());
|
||||||
}
|
}
|
||||||
vo.setPileSn(pileSn);
|
vo.setPileSn(pileSn);
|
||||||
// vo.setName(pileName);
|
vo.setName(pileName);
|
||||||
vo.setLockInfos(lockInfoList);
|
vo.setLockInfos(lockInfoList);
|
||||||
|
|
||||||
resultList.add(vo);
|
resultList.add(vo);
|
||||||
|
|||||||
Reference in New Issue
Block a user