Commit 8b423336 authored by unset's avatar unset

添加通知信息

parent e94a09db
...@@ -132,9 +132,11 @@ public class ImageImgStorageBiz extends BaseBiz<ImageImgStorageMapper,ImageImgSt ...@@ -132,9 +132,11 @@ public class ImageImgStorageBiz extends BaseBiz<ImageImgStorageMapper,ImageImgSt
String[] arr = ids.split(","); String[] arr = ids.split(",");
if (arr != null) { if (arr != null) {
for (String id : arr) { for (String id : arr) {
ImageImgStorage imageImgStorage = getDetail(Integer.valueOf(id)).getData(); if (StringUtils.isNotBlank(id)) {
if (imageImgStorage != null) { ImageImgStorage imageImgStorage = getDetail(Integer.valueOf(id)).getData();
list.add(imageImgStorage); if (imageImgStorage != null) {
list.add(imageImgStorage);
}
} }
} }
} }
...@@ -207,4 +209,5 @@ public class ImageImgStorageBiz extends BaseBiz<ImageImgStorageMapper,ImageImgSt ...@@ -207,4 +209,5 @@ public class ImageImgStorageBiz extends BaseBiz<ImageImgStorageMapper,ImageImgSt
example.createCriteria().andIn("id", idList); example.createCriteria().andIn("id", idList);
return mapper.selectByExample(example); return mapper.selectByExample(example);
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment