|
@@ -228,10 +228,7 @@ public class RoomInnerServiceSMOImpl extends BaseServiceSMO implements IRoomInne
|
|
|
if (rooms == null || rooms.size() == 0) {
|
|
if (rooms == null || rooms.size() == 0) {
|
|
|
return rooms;
|
|
return rooms;
|
|
|
}
|
|
}
|
|
|
- //处理下户型转义问题
|
|
|
|
|
- for(RoomDto roomds:rooms){
|
|
|
|
|
- roomds.setApartment(MappingCache.getValue(roomds.getApartment().substring(0,2).toString())+MappingCache.getValue(roomds.getApartment().substring(2,5).toString()));
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
String[] roomIds = getRoomIds(rooms);
|
|
String[] roomIds = getRoomIds(rooms);
|
|
|
Map attrParamInfo = new HashMap();
|
|
Map attrParamInfo = new HashMap();
|
|
|
attrParamInfo.put("roomIds", roomIds);
|
|
attrParamInfo.put("roomIds", roomIds);
|
|
@@ -243,6 +240,8 @@ public class RoomInnerServiceSMOImpl extends BaseServiceSMO implements IRoomInne
|
|
|
List<UserDto> users = userInnerServiceSMOImpl.getUserInfo(userIds);
|
|
List<UserDto> users = userInnerServiceSMOImpl.getUserInfo(userIds);
|
|
|
|
|
|
|
|
for (RoomDto room : rooms) {
|
|
for (RoomDto room : rooms) {
|
|
|
|
|
+ //处理下户型转义问题
|
|
|
|
|
+ room.setApartment(MappingCache.getValue(room.getApartment().substring(0,2).toString())+MappingCache.getValue(room.getApartment().substring(2,5).toString()));
|
|
|
refreshRoom(room, users, roomAttrDtos);
|
|
refreshRoom(room, users, roomAttrDtos);
|
|
|
}
|
|
}
|
|
|
return rooms;
|
|
return rooms;
|