| | |
| | | OrderPaymentRecord one1 = orderPaymentRecordService.lambdaQuery().eq(OrderPaymentRecord::getOrderId, one.getId()) |
| | | .eq(OrderPaymentRecord::getPaymentType, 4).one(); |
| | | AppUserWalletRecord appUserWalletRecord = new AppUserWalletRecord(); |
| | | appUserWalletRecord.setAppUserId(data.getInviteUserId()); |
| | | appUserWalletRecord.setAppUserId(one.getAppUserId()); |
| | | String reason=null; |
| | | switch (one.getOrderFrom()){ |
| | | case 1: |
| | |
| | | } |
| | | appUserWalletRecord.setReason(reason); |
| | | appUserWalletRecord.setAmount(one1.getPayAmount()); |
| | | appUserWalletRecord.setChildAppUserId(one.getAppUserId()); |
| | | appUserWalletRecord.setOrderId(one.getId()); |
| | | remoteAppUserService.addBalanceRecord(appUserWalletRecord); |
| | | }else{ |