Browse Source

/。ing

release_toaliyun_real
xhxu 4 years ago
parent
commit
31405d27bd
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxShopServiceImpl.java

+ 7
- 2
mallinkService/src/main/java/com/iformall/service/impl/WxShopServiceImpl.java View File

@@ -643,9 +643,15 @@ public class WxShopServiceImpl implements WxShopService {

@Override
public Map<Long,List<WxShopVo>> findMerchantShopVoListMap(TenantEntity tenantEntity, List<Long> merchantIds) {
Map<Long,List<WxShopVo>> retMap = new HashMap<Long,List<WxShopVo>>();

Map<Long,String> floorMap = getFloorMap(tenantEntity);
Map<Long,String> buildingMap = getBuildingMap(tenantEntity);
List<Long> shopIds = wxMerchantShopMapper.findShopIds(merchantIds);

if(shopIds == null || shopIds.isEmpty()){
return retMap;
}
List<WxShopVo> shopVoList = wxShopMapper.newFindShopVoList(tenantEntity.getTenantId(),shopIds);
Map<Long,WxShopVo> shopVoMap = new HashMap<Long,WxShopVo>();
@@ -656,8 +662,7 @@ public class WxShopServiceImpl implements WxShopService {
shopVoMap.put(sv.getId(), sv);
}
}
Map<Long,List<WxShopVo>> retMap = new HashMap<Long,List<WxShopVo>>();

WxMerchantShop merchantShopQ = new WxMerchantShop();
merchantShopQ.updateTenantInfo(tenantEntity);
merchantShopQ.setMerchantIds(merchantIds);


Loading…
Cancel
Save