|
|
|
@ -307,7 +307,7 @@ public class OrderApplicationService extends BaseApplicationService { |
|
|
|
CalculateSiteActivityFeeDto calculateDto = new CalculateSiteActivityFeeDto(dto.getSiteActivityId(), userId, |
|
|
|
dto.getMiId(), vip ? VIPEnum.YES.getValue() : VIPEnum.NO.getValue()); |
|
|
|
CalculateSiteActivityFeeVo calculateVo = datingAgencyServiceApplicationService.calculateSiteActivityFeeBySdk(calculateDto); |
|
|
|
if (calculateVo.getUnitOriginalPrice().compareTo(BigDecimal.ZERO) <= 0) { |
|
|
|
if (!calculateVo.getEnable()) { |
|
|
|
throw new BizException("下单异常"); |
|
|
|
} |
|
|
|
OrderItem orderItem = OrderItem.build(productSpec.getProductId(), productSpec.getId(), product.getProductType(), product.getMainCategory(), product.getSubCategory(), |
|
|
|
|