Commit 710e0586 authored by 廖旭伟's avatar 廖旭伟

修改bug

parent 16115059
...@@ -97,7 +97,9 @@ public class UserModelCollectController extends BaseCRUDJsonBodyMappingControlle ...@@ -97,7 +97,9 @@ public class UserModelCollectController extends BaseCRUDJsonBodyMappingControlle
} }
List<ModelFeignVO> result = new ArrayList<>(); List<ModelFeignVO> result = new ArrayList<>();
for(Long id:idList){ for(Long id:idList){
result.add(map.get(id)); if(map.containsKey(id)) {
result.add(map.get(id));
}
} }
model.put("data", result); model.put("data", result);
}catch (Exception e){ }catch (Exception e){
......
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