yanderong
2026-07-09 b13b7bbe2efb23cdc76ea8bffb4378bfb31fac87
UserYKDTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/taxi/service/impl/OrderTaxiServiceImpl.java
@@ -1352,7 +1352,7 @@
         return prepaySettleResult;
      }
//      orderMoney = getTaxiPrepayFinalPayAmount(orderTaxi, orderMoney);
      if (orderTaxi.getPrepayStage() == 3){
      if (Objects.nonNull(orderTaxi.getPrepayStage()) && orderTaxi.getPrepayStage() == 3){
         orderMoney = orderMoney - orderTaxi.getEstimateAmount();
      }
      orderMoney = orderMoney < 0 ? 0 : orderMoney;
@@ -1610,7 +1610,7 @@
            orderMoney = v;
         }
      }
      if (orderTaxi.getPrepayStage() == 3){
      if (Objects.nonNull(orderTaxi.getPrepayStage()) && orderTaxi.getPrepayStage() == 3){
         orderMoney = orderMoney - orderTaxi.getEstimateAmount();
      }
      orderMoney = orderMoney < 0 ? 0 : orderMoney;
@@ -2244,7 +2244,7 @@
      Double displayAmount = getTaxiPrepayDisplayPayAmount(orderTaxi, finalAmount);
      map.put("orderMoney", finalAmount);
      map.put("payMoney", displayAmount);
      if (orderTaxi.getPrepayStage() == 3) {
      if (Objects.nonNull(orderTaxi.getPrepayStage()) && orderTaxi.getPrepayStage() == 3) {
         map.put("payMoney", new BigDecimal(finalAmount)
               .subtract(new BigDecimal(orderTaxi.getEstimateAmount() != null ? orderTaxi.getEstimateAmount() : 0))
               .setScale(2, RoundingMode.HALF_UP));