This commit is contained in:
2023-08-29 19:23:27 +08:00
parent 8aa6542498
commit c236f01501

View File

@@ -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);