mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
update 查询地锁列表接口
This commit is contained in:
@@ -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<PileConnectorInfoVO> 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);
|
||||
|
||||
Reference in New Issue
Block a user