微调
This commit is contained in:
@@ -133,6 +133,9 @@ public class ComponentServiceImpl extends ServiceImpl<ComponentMapper, Component
|
|||||||
}
|
}
|
||||||
list = componentMapper.getComponentByList(componentList);
|
list = componentMapper.getComponentByList(componentList);
|
||||||
}
|
}
|
||||||
|
if (CollectionUtil.isEmpty(list)){
|
||||||
|
return result;
|
||||||
|
}
|
||||||
list.forEach(item -> {
|
list.forEach(item -> {
|
||||||
ComponentVO componentVO = new ComponentVO();
|
ComponentVO componentVO = new ComponentVO();
|
||||||
BeanUtil.copyProperties(item, componentVO);
|
BeanUtil.copyProperties(item, componentVO);
|
||||||
|
|||||||
Reference in New Issue
Block a user