|
@@ -632,7 +632,7 @@ public class BizArchiveInputServiceImpl extends ServiceImpl<BizArchiveInputMappe
|
|
|
&& v.getContractDetailId().equals(inputDetail.getId())
|
|
|
&& v.getTaskTypeId().equals(inputDetail.getTaskTypeId())
|
|
|
).forEach(v->{
|
|
|
- v.setServiceNum(i+1);
|
|
|
+ v.setServiceNum(i);
|
|
|
v.setFreeNum(0);
|
|
|
});
|
|
|
}
|
|
@@ -723,7 +723,7 @@ public class BizArchiveInputServiceImpl extends ServiceImpl<BizArchiveInputMappe
|
|
|
int monthDiff = endCalendar.get(Calendar.MONTH) - startCalendar.get(Calendar.MONTH);
|
|
|
|
|
|
// 总的月份差异
|
|
|
- return yearDiff * 12 + monthDiff;
|
|
|
+ return yearDiff * 12 + monthDiff+1;
|
|
|
}
|
|
|
public static int getMonthNum(int i, List<BizWorkOrderDetail> list) {
|
|
|
int total = 0;
|