Parcourir la source

优化小区时大门显示不正常问题

wuxw il y a 6 ans
Parent
commit
641ee197d5

+ 1 - 1
Api/src/main/java/com/java110/api/listener/machine/ListMachinesListener.java

@@ -159,7 +159,7 @@ public class ListMachinesListener extends AbstractServiceApiListener {
         for (MachineDto machineDto : tmpMachineDtos) {
             for (CommunityDto tmpCommunityDto : communityDtos) {
                 if (machineDto.getLocationObjId().equals(tmpCommunityDto.getCommunityId())) {
-                    machineDto.setLocationObjName(tmpCommunityDto.getName() + " " + machineDto.getLocationObjName());
+                    machineDto.setLocationObjName(tmpCommunityDto.getName() + " " + machineDto.getLocationTypeName());
                 }
             }
         }