no message
Showing
1 changed file
with
5 additions
and
0 deletions
| ... | @@ -174,10 +174,15 @@ public class BuildingBlockServiceImpl implements IBuildingBlockService { | ... | @@ -174,10 +174,15 @@ public class BuildingBlockServiceImpl implements IBuildingBlockService { |
| 174 | */ | 174 | */ |
| 175 | @Override | 175 | @Override |
| 176 | public List<BuildingBlockVo> getListByIds(Collection<String> ids) { | 176 | public List<BuildingBlockVo> getListByIds(Collection<String> ids) { |
| 177 | if(!CollectionUtils.isEmpty(ids)) { | ||
| 177 | List<BuildingBlockVo> list = baseMapper.selectVoList(Wrappers.<BuildingBlock>lambdaQuery().in(BuildingBlock::getId, ids)); | 178 | List<BuildingBlockVo> list = baseMapper.selectVoList(Wrappers.<BuildingBlock>lambdaQuery().in(BuildingBlock::getId, ids)); |
| 178 | setInfo(list); | 179 | setInfo(list); |
| 179 | return list; | 180 | return list; |
| 180 | } | 181 | } |
| 182 | else{ | ||
| 183 | return null; | ||
| 184 | } | ||
| 185 | } | ||
| 181 | 186 | ||
| 182 | @Override | 187 | @Override |
| 183 | public BuildingBlockVo get(String id) { | 188 | public BuildingBlockVo get(String id) { | ... | ... |
-
Please register or sign in to post a comment