diff --git a/dating-agency-mall-server/src/main/java/com/qniao/dam/application/handler/order/OrderEventHandler.java b/dating-agency-mall-server/src/main/java/com/qniao/dam/application/handler/order/OrderEventHandler.java index ea3516d..901c82a 100644 --- a/dating-agency-mall-server/src/main/java/com/qniao/dam/application/handler/order/OrderEventHandler.java +++ b/dating-agency-mall-server/src/main/java/com/qniao/dam/application/handler/order/OrderEventHandler.java @@ -162,7 +162,7 @@ public class OrderEventHandler extends BaseApplicationService { virtualAccountApplicationService.recharge(product, productSpec, order); } //产品 - PurchaseProductRecord record = PurchaseProductRecord.build(order.getUserId(), orderItem.getProductId(), orderItem.getId(), order.getId()); + PurchaseProductRecord record = PurchaseProductRecord.build(order.getUserId(), orderItem.getProductId(), orderItem.getProductSpecId(), order.getId()); purchaseProductRecordDao.insert(record); } }