| | |
| | | BigDecimal realPayAmount = one.getRealPayAmount(); |
| | | // 判断订单所属用户是否有上级 是否需要做分佣处理 |
| | | AppUser data = remoteAppUserService.getAppUserById(one.getAppUserId() + "").getData(); |
| | | if (one.getGiveUserId()!=null){ |
| | | remoteAppUserService.addNotice(one.getGiveUserId() + "", one.getBusinessId() + "", |
| | | one.getAppUserId() + "", one.getTotalAmount() + ""); |
| | | } |
| | | |
| | | if (data.getInviteUserId()!=null) { |
| | | |
| | | if (one.getOrderFrom() == 1 || one.getOrderFrom() == 2 || one.getOrderFrom() == 3) { |
| | | // 查询实际支付价格 不包含余额抵扣价格 |
| | | OrderPaymentRecord one1 = orderPaymentRecordService.lambdaQuery().eq(OrderPaymentRecord::getOrderId, one.getId()) |