wangqifan před 2 roky
rodič
revize
5d06c0fbab

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

@@ -396,7 +396,7 @@ public class OrderService {
 //                collectionRepo.setOnShelf(collectionId, false);
                 collectionRepo.setInPaying(collectionId, true);
                 //拥有指定藏品降税
-                Long sellerId = asset.getOwnerId();
+                Long sellerId = asset.getUserId();
                 order.setRoyalties(assetService.getRoyalties(minter.getId(), collection.getRoyalties(), sellerId));
                 if (asset.getType().equals(CollectionType.DOMAIN)) {
                     order.setServiceCharge(assetService.getDomainServiceCharge(sellerId));