wangqifan 3 years ago
parent
commit
74d0595863
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/java/com/izouma/nineth/service/AssetService.java

+ 1 - 0
src/main/java/com/izouma/nineth/service/AssetService.java

@@ -529,6 +529,7 @@ public class AssetService {
             collectionRepo.findById(asset.getPublicCollectionId())
             collectionRepo.findById(asset.getPublicCollectionId())
                     .ifPresent(collection -> {
                     .ifPresent(collection -> {
                         collection.setSalable(false);
                         collection.setSalable(false);
+                        collection.setOnShelf(false);
                         collectionRepo.save(collection);
                         collectionRepo.save(collection);
                     });
                     });
         }
         }