|
|
|
@ -96,8 +96,6 @@ public class OrderApplicationService extends BaseApplicationService { |
|
|
|
private DatingAgencyServiceApplicationService datingAgencyServiceApplicationService; |
|
|
|
@Resource |
|
|
|
private RewardConfigQueryService rewardConfigQueryService; |
|
|
|
@Resource |
|
|
|
private MatchmakerDao matchmakerDao; |
|
|
|
|
|
|
|
@Value("${marriage_bounty_meeting_quantity:5}") |
|
|
|
private Integer marriageBountyMeetingQuantity; |
|
|
|
@ -246,7 +244,7 @@ public class OrderApplicationService extends BaseApplicationService { |
|
|
|
if (PublishIdentityTypeEnum.MATCHMAKER.equals(publishType)) { |
|
|
|
//红娘发榜的话,则下单不需要给发布嘉宾邀请金额+发榜佣金 |
|
|
|
//获取红娘身份 |
|
|
|
Matchmaker matchmaker = matchmakerDao.selectById(order.getUserId()); |
|
|
|
Matchmaker matchmaker = matchmakerQueryService.queryByUserId(order.getUserId()); |
|
|
|
RewardConfig guestCertificationReward = rewardConfigQueryService.queryGuestCertificationReward(matchmaker); |
|
|
|
RewardConfig publishMarriageBountyReward = rewardConfigQueryService.queryPublishMarriageBountyReward(matchmaker); |
|
|
|
if (CollUtil.isNotEmpty(order.getOrderItemList())) { |
|
|
|
|