|
|
@@ -1244,6 +1244,10 @@ public class ClaudeCodeServiceImpl implements ClaudeCodeService {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ //总天数为0 不抵扣
|
|
|
+ if (totalDays == 0) {
|
|
|
+ return BigDecimal.ZERO;
|
|
|
+ }
|
|
|
Long thisDeductBetweenDay = DateUtil.betweenDay(now, relationExpiryTime, false) + 1;
|
|
|
BigDecimal single = totalOrderMoney.divide(BigDecimal.valueOf(totalDays), 0, RoundingMode.HALF_UP);
|
|
|
//该车票抵扣金额
|