no message
Showing
1 changed file
with
8 additions
and
3 deletions
| ... | @@ -174,9 +174,14 @@ public class BuildingBlockServiceImpl implements IBuildingBlockService { | ... | @@ -174,9 +174,14 @@ 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 | List<BuildingBlockVo> list = baseMapper.selectVoList(Wrappers.<BuildingBlock>lambdaQuery().in(BuildingBlock::getId, ids)); | 177 | if(!CollectionUtils.isEmpty(ids)) { |
| 178 | setInfo(list); | 178 | List<BuildingBlockVo> list = baseMapper.selectVoList(Wrappers.<BuildingBlock>lambdaQuery().in(BuildingBlock::getId, ids)); |
| 179 | return list; | 179 | setInfo(list); |
| 180 | return list; | ||
| 181 | } | ||
| 182 | else{ | ||
| 183 | return null; | ||
| 184 | } | ||
| 180 | } | 185 | } |
| 181 | 186 | ||
| 182 | @Override | 187 | @Override | ... | ... |
-
Please register or sign in to post a comment