This commit is contained in:
Lemon
2023-06-27 10:57:49 +08:00
16 changed files with 73 additions and 35 deletions

View File

@@ -479,8 +479,8 @@ public class AMapServiceImpl implements AMapService {
Map<String, List<PileInfoVO>> pileMap = pileInfoList.stream().collect(Collectors.groupingBy(PileInfoVO::getPileSn));
info = new AMapEquipmentInfo();
for (Map.Entry<String, List<PileInfoVO>> pile : pileMap.entrySet()) {
info = new AMapEquipmentInfo();
String pileSn = pile.getKey();
List<PileInfoVO> value = pile.getValue();
PileInfoVO pileInfoVO = value.get(0);