|
@@ -489,7 +489,7 @@ public class InsuranceApplicationController {
|
|
|
DateTime startTime = new DateTime(insuranceApplication.getStartTime());
|
|
|
|
|
|
//投保总月份
|
|
|
- int months = Months.monthsBetween(startTime, endTime).getMonths();
|
|
|
+ int months = Months.monthsBetween(startTime, endTime.plusDays(1)).getMonths();
|
|
|
|
|
|
BigDecimal totalAmount = new BigDecimal(0);
|
|
|
|