Browse Source

悬赏招亲

master
张彭杰 1 year ago
parent
commit
e1a02e26dc
2 changed files with 3 additions and 3 deletions
  1. 2
      dating-agency-mall-server/src/main/java/com/qniao/dam/application/service/ora/OrderRefundApplicationApplicationService.java
  2. 4
      dating-agency-mall-server/src/main/java/com/qniao/dam/application/service/order/OrderApplicationService.java

2
dating-agency-mall-server/src/main/java/com/qniao/dam/application/service/ora/OrderRefundApplicationApplicationService.java

@ -39,7 +39,7 @@ public class OrderRefundApplicationApplicationService extends BaseApplicationSer
throw new BizException("不能发起退款");
}
OrderRefundApplication application = OrderRefundApplication.build(order, RefundOrderTypeEnum.MARRIAGE_BOUNTY,
preRefundInfoVo.getRefundableMeetingFee().add(preRefundInfoVo.getRefundableResultGift()), preRefundInfoVo.getRewardAmount());
preRefundInfoVo.getRefundableMeetingFee().add(preRefundInfoVo.getRefundableResultGift()), preRefundInfoVo.getPaidMount());
application.setStatus(OrderRefundApplicationStatus.UNAUDITED);
orderRefundApplicationAggregate.create(application);
}

4
dating-agency-mall-server/src/main/java/com/qniao/dam/application/service/order/OrderApplicationService.java

@ -323,7 +323,7 @@ public class OrderApplicationService extends BaseApplicationService {
orderItem.setSubCategory(product.getSubCategory());
orderItem.setProductTitle(product.getProductTitle());
orderItem.setProductDesc(product.getProductDesc());
orderItem.setOriginalAmount(productSpec.getUnitSellingPrice());
orderItem.setUnitOriginalPrice(productSpec.getUnitSellingPrice());
orderItem.setUnitSettlementPrice(productSpec.getUnitSellingPrice());
orderItem.setQuantity(1);
if (ProductSubCategoryEnum.MARRIAGE_BOUNTY_MEETING_FEE.equals(product.getSubCategory())) {
@ -360,7 +360,7 @@ public class OrderApplicationService extends BaseApplicationService {
orderItem.setSubCategory(product.getSubCategory());
orderItem.setProductTitle(product.getProductTitle());
orderItem.setProductDesc(product.getProductDesc());
orderItem.setOriginalAmount(unitSettlementPrice);
orderItem.setUnitOriginalPrice(unitSettlementPrice);
orderItem.setUnitSettlementPrice(unitSettlementPrice);
orderItem.setQuantity(quantity);
orderItemList.add(orderItem);

Loading…
Cancel
Save