|
@@ -785,7 +785,7 @@ public class BizArchiveInputServiceImpl extends ServiceImpl<BizArchiveInputMappe
|
|
|
int yearDiff = endCalendar.get(Calendar.YEAR) - startCalendar.get(Calendar.YEAR);
|
|
|
int monthDiff = endCalendar.get(Calendar.MONTH) - startCalendar.get(Calendar.MONTH);
|
|
|
// 总的月份差异
|
|
|
- int totalMonthsBetween = yearDiff * 12 + monthDiff;
|
|
|
+ int totalMonthsBetween = yearDiff * 12 + monthDiff+1;
|
|
|
BigDecimal keeFreeMonth = item.getKeepAccountFreeMonth() == null ? BigDecimal.ZERO : BigDecimal.valueOf(item.getKeepAccountFreeMonth());
|
|
|
if (totalMonthsBetween != keepAccountMonth.add(keeFreeMonth).intValue()){
|
|
|
failureNum++;
|
|
@@ -803,7 +803,7 @@ public class BizArchiveInputServiceImpl extends ServiceImpl<BizArchiveInputMappe
|
|
|
int yearDiff2 = endCalendar2.get(Calendar.YEAR) - startCalendar2.get(Calendar.YEAR);
|
|
|
int monthDiff2 = endCalendar2.get(Calendar.MONTH) - startCalendar2.get(Calendar.MONTH);
|
|
|
// 总的月份差异
|
|
|
- int totalMonthsBetween2 = yearDiff2 * 12 + monthDiff2;
|
|
|
+ int totalMonthsBetween2 = yearDiff2 * 12 + monthDiff2+1;
|
|
|
BigDecimal socialSecurityMonth = item.getSocialSecurityFreeMonth() == null ? BigDecimal.ZERO : BigDecimal.valueOf(item.getSocialSecurityFreeMonth());
|
|
|
if (totalMonthsBetween2 != securityMonth.add(socialSecurityMonth).intValue()){
|
|
|
failureNum++;
|
|
@@ -823,7 +823,7 @@ public class BizArchiveInputServiceImpl extends ServiceImpl<BizArchiveInputMappe
|
|
|
int yearDiff3= endCalendar3.get(Calendar.YEAR) - startCalendar3.get(Calendar.YEAR);
|
|
|
int monthDiff3 = endCalendar3.get(Calendar.MONTH) - startCalendar3.get(Calendar.MONTH);
|
|
|
// 总的月份差异
|
|
|
- int totalMonthsBetween3 = yearDiff3 * 12 + monthDiff3;
|
|
|
+ int totalMonthsBetween3 = yearDiff3 * 12 + monthDiff3+1;
|
|
|
BigDecimal housingFundMonths = item.getHousingFundFreeMonth() == null ? BigDecimal.ZERO : BigDecimal.valueOf(item.getHousingFundFreeMonth());
|
|
|
if (totalMonthsBetween3!= housingFundMonth.add(housingFundMonths).intValue()){
|
|
|
failureNum++;
|
|
@@ -841,7 +841,7 @@ public class BizArchiveInputServiceImpl extends ServiceImpl<BizArchiveInputMappe
|
|
|
int yearDiff4= endCalendar4.get(Calendar.YEAR) - startCalendar4.get(Calendar.YEAR);
|
|
|
int monthDiff4 = endCalendar4.get(Calendar.MONTH) - startCalendar4.get(Calendar.MONTH);
|
|
|
// 总的月份差异
|
|
|
- int totalMonthsBetween4 = yearDiff4 * 12 + monthDiff4;
|
|
|
+ int totalMonthsBetween4 = yearDiff4 * 12 + monthDiff4+1;
|
|
|
BigDecimal returnTaxFreeMonth = item.getReturnTaxFreeMonth() == null ? BigDecimal.ZERO : BigDecimal.valueOf(item.getReturnTaxFreeMonth());
|
|
|
if (totalMonthsBetween4!= returnTaxMonth.add(returnTaxFreeMonth).intValue()){
|
|
|
failureNum++;
|