Commit d384a214 by 陶光胜

观云台小程序

parent 10885dcf
...@@ -144,9 +144,11 @@ public class StoreSearchUtils { ...@@ -144,9 +144,11 @@ public class StoreSearchUtils {
Map<Integer, Integer> map = new HashMap<>(); Map<Integer, Integer> map = new HashMap<>();
result.forEach(storeDTO -> { result.forEach(storeDTO -> {
List<Integer> storeGroupIdList = storeDTO.getStoreGroupIdList(); List<Integer> storeGroupIdList = storeDTO.getStoreGroupIdList();
if(CollectionUtils.isNotEmpty(storeGroupIdList)){
storeGroupIdList.forEach(storeGroupId ->{ storeGroupIdList.forEach(storeGroupId ->{
map.put(storeGroupId, storeGroupId); map.put(storeGroupId, storeGroupId);
}); });
}
}); });
List<StoreGroupDTO> allStoreGroupIdList = this.storeGroupApiService.listStoreGroupByIds(null, enterpriseId).getResult(); List<StoreGroupDTO> allStoreGroupIdList = this.storeGroupApiService.listStoreGroupByIds(null, enterpriseId).getResult();
Map<Integer, Integer> levelMap = new HashMap<>(); Map<Integer, Integer> levelMap = new HashMap<>();
......
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