| | |
| | | tChargingOrder.setLicensePlate(data4.getLicensePlate()); |
| | | tChargingOrder.setVehicleModel(data4.getVehicleModel()); |
| | | } |
| | | }else{ |
| | | tChargingOrder.setLicensePlate(tChargingOrder.getPlateNum()); |
| | | } |
| | | if (data3!=null)tChargingOrder.setUserName(data3.getName()); |
| | | // 累加实收金额 支付结算金额 |
| | |
| | | } |
| | | // 累加平台手续费 |
| | | if (tChargingOrder.getOrderAmount()!=null){ |
| | | commissionAmount = commissionAmount.add(tChargingOrder.getPaymentAmount().multiply(BigDecimal.valueOf(0.006)) |
| | | commissionAmount = commissionAmount.add(tChargingOrder.getRechargeAmount().multiply(BigDecimal.valueOf(0.006)) |
| | | .setScale(2,BigDecimal.ROUND_DOWN)); |
| | | } |
| | | // 累加平台分佣 |
| | |
| | | } |
| | | // 累加平台手续费 |
| | | if (tChargingOrder.getOrderAmount()!=null){ |
| | | commissionAmountTotal = commissionAmountTotal.add(tChargingOrder.getPaymentAmount().multiply(new BigDecimal("0.006")) |
| | | commissionAmountTotal = commissionAmountTotal.add(tChargingOrder.getRechargeAmount().multiply(new BigDecimal("0.006")) |
| | | .setScale(2,BigDecimal.ROUND_DOWN)); |
| | | } |
| | | // 累加平台分佣 |
| | |
| | | tChargingOrder.setLicensePlate(tAppUserCar.getLicensePlate()); |
| | | tChargingOrder.setVehicleModel(tAppUserCar.getVehicleModel()); |
| | | } |
| | | }else{ |
| | | tChargingOrder.setLicensePlate(tChargingOrder.getPlateNum()); |
| | | } |
| | | if (data3!=null)tChargingOrder.setUserName(data3.getName()); |
| | | if ( tChargingOrder.getPaymentAmount()!=null){ |
| | |
| | | } |
| | | // 累加平台手续费 |
| | | if (tChargingOrder.getOrderAmount()!=null){ |
| | | commissionAmount = commissionAmount.add(tChargingOrder.getPaymentAmount().multiply(BigDecimal.valueOf(0.006)) |
| | | commissionAmount = commissionAmount.add(tChargingOrder.getRechargeAmount().multiply(BigDecimal.valueOf(0.006)) |
| | | .setScale(2,BigDecimal.ROUND_DOWN)); |
| | | } |
| | | // 累加平台分佣 |
| | |
| | | } |
| | | // 累加平台手续费 |
| | | if (tChargingOrder.getOrderAmount()!=null){ |
| | | commissionAmount = commissionAmount.add(tChargingOrder.getPaymentAmount().multiply(new BigDecimal("0.006")).setScale(2,BigDecimal.ROUND_DOWN)); |
| | | commissionAmountTotal = commissionAmountTotal.add(tChargingOrder.getPaymentAmount().multiply(new BigDecimal("0.006")) |
| | | commissionAmount = commissionAmount.add(tChargingOrder.getRechargeAmount().multiply(new BigDecimal("0.006")).setScale(2,BigDecimal.ROUND_DOWN)); |
| | | commissionAmountTotal = commissionAmountTotal.add(tChargingOrder.getRechargeAmount().multiply(new BigDecimal("0.006")) |
| | | .setScale(2,BigDecimal.ROUND_DOWN)); |
| | | } |
| | | // 累加平台分佣 |