| | |
| | | BigDecimal amount = BigDecimal.ZERO; |
| | | if (rechargeConfig.size() > 0){ |
| | | for (Map<String, Object> stringObjectMap : rechargeConfig) { |
| | | Integer chargeId = (Integer) stringObjectMap.get("chargeId"); |
| | | if (chargeId.equals(request.getChargeId())) { |
| | | Long o = (Long) stringObjectMap.get("money"); |
| | | Long o = (Long) stringObjectMap.get("money"); |
| | | if (BigDecimal.valueOf(o).compareTo(request.getAmount()) == 0) { |
| | | amount = BigDecimal.valueOf(o); |
| | | rechargeRecords.setAmount(BigDecimal.valueOf(o)); |
| | | if (tAppUser.getIsVip() == 1) { |