|
|
@@ -2550,6 +2550,9 @@ public class ProductServiceImpl implements ProductService {
|
|
|
for (String id : splits) {
|
|
|
idList.add(Long.valueOf(id));
|
|
|
}
|
|
|
+ if (CollectionUtils.isEmpty(idList)) {
|
|
|
+ return new ArrayList<>();
|
|
|
+ }
|
|
|
return productDao.findAll(idList);
|
|
|
}
|
|
|
}
|