|
|
|
@ -117,7 +117,7 @@ public class OrderEventHandler extends BaseApplicationService { |
|
|
|
//红娘加盟费 |
|
|
|
if (OrderBelongingEnum.MATCHMAKER.equals(order.getOrderBelonging())) { |
|
|
|
OrderItem orderItem = order.getOrderItemList().get(0); |
|
|
|
MatchmakerOrderTypeEnum matchmakerOrderType = MatchmakerOrderTypeEnum.get(order.getExtInfo().get("matchmakerOrderType")); |
|
|
|
MatchmakerOrderTypeEnum matchmakerOrderType = MatchmakerOrderTypeEnum.get(Integer.valueOf(order.getExtInfo().get("matchmakerOrderType"))); |
|
|
|
ProductSpec productSpec = productSpecRepository.load(orderItem.getProductSpecId()); |
|
|
|
int validityPeriodDays = 0; |
|
|
|
ProductSpecTerm term = productQueryService.getTermByName(productSpec.getProductSpecTermList(), ProductSpecTermNameEnum.VALIDITY_PERIOD); |
|
|
|
|