Commit 5010618c authored by unset's avatar unset

影像图库新增批量上下架以及删除接口

parent 58d5b8cd
...@@ -136,7 +136,7 @@ public class ImageImgStorageBiz extends BaseBiz<ImageImgStorageMapper,ImageImgSt ...@@ -136,7 +136,7 @@ public class ImageImgStorageBiz extends BaseBiz<ImageImgStorageMapper,ImageImgSt
for (String id : arr) { for (String id : arr) {
if (StringUtils.isNotBlank(id)) { if (StringUtils.isNotBlank(id)) {
ImageImgStorage imageImgStorage = selectById(Integer.valueOf(id)); ImageImgStorage imageImgStorage = selectById(Integer.valueOf(id));
if (imageImgStorage != null) { if (imageImgStorage != null && imageImgStorage.getIsDel() == 0 && imageImgStorage.getStatus() == 1) {
List<ImageInfoRelation> imageInfoRelationList = imageInfoRelationBiz.getAllById(imageImgStorage.getId(), 1); List<ImageInfoRelation> imageInfoRelationList = imageInfoRelationBiz.getAllById(imageImgStorage.getId(), 1);
if (imageInfoRelationList != null) { if (imageInfoRelationList != null) {
imageImgStorage.setImageInfoRelationList(imageInfoRelationList); imageImgStorage.setImageInfoRelationList(imageInfoRelationList);
......
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