Commit 26166da8 by 徐高华

Merge branch 'master_xgh_我的客户迭代' into 'developer'

Master xgh 我的客户迭代

See merge request !400
parents af7a1816 735ce44f
......@@ -1647,7 +1647,13 @@ public class WxStaffController extends WebBaseController {
if(CollectionUtils.isNotEmpty(subStoreIdList)) {
logger.info("分页当前页storeid数={}",subStoreIdList.size());
String[] arr = new String[subStoreIdList.size()] ;
storeDTOList = this.storeService.getStores(subStoreIdList.toArray(arr));
List<StoreDTO> storeList = this.storeService.getStores(subStoreIdList.toArray(arr));
Map<String,StoreDTO> storeMap = storeList.stream().collect(Collectors.toMap(StoreDTO::getStoreId, o->o,(k1,k2)->k1)) ;
for(String id : subStoreIdList) {
if(null != storeMap.get(id)) {
storeDTOList.add(storeMap.get(id)) ;
}
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment