|
|
|
@@ -123,6 +123,10 @@ public class WxShopServiceImpl implements WxShopService { |
|
|
|
WxShop shop = page.getList().get(i); |
|
|
|
shopIdList.add(shop.getId()); |
|
|
|
} |
|
|
|
|
|
|
|
Map<Long, String> buildingMap = wxMallBuildingService.getBuildingMap(record); |
|
|
|
Map<Long, String> floorMap = wxMallFloorService.getFloorMap(record); |
|
|
|
|
|
|
|
WxShopUsers suq = new WxShopUsers(); |
|
|
|
suq.updateTenantInfo(record); |
|
|
|
suq.setShopIds(shopIdList); |
|
|
|
@@ -131,14 +135,20 @@ public class WxShopServiceImpl implements WxShopService { |
|
|
|
if (null != shopUserMap) { |
|
|
|
for (int i = 0 ; i < page.getList().size(); i ++) { |
|
|
|
WxShop shop = page.getList().get(i); |
|
|
|
|
|
|
|
WxShopUsers su = shopUserMap.get(shop.getId()); |
|
|
|
if (null != su) { |
|
|
|
shop.setShopUserType(su.getType()); |
|
|
|
shop.setShopUserTypeName(su.getTypeName()); |
|
|
|
shop.setShopUserName(su.getName()); |
|
|
|
} |
|
|
|
|
|
|
|
if (null != buildingMap) { |
|
|
|
String buildingName = buildingMap.get(shop.getBuilding()); |
|
|
|
shop.setBuildingName(buildingName); |
|
|
|
} |
|
|
|
if (null != floorMap) { |
|
|
|
String floorName = floorMap.get(shop.getFloor()); |
|
|
|
shop.setFloorName(floorName); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|