Skip to content

Commit

Permalink
hide staffstatus records in colliding visit schedule items
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrenn committed Feb 2, 2024
1 parent 43e1132 commit be76f74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5537,7 +5537,7 @@ protected Collection<StaffStatusEntryOutVO> handleGetCollidingStaffStatusEntries
Iterator<VisitScheduleItem> it = this.getVisitScheduleItemDao().findExpandedDateMode(visitScheduleItem.getId(), null).iterator();
while (it.hasNext()) {
VisitScheduleItem expanded = it.next();
collidingStaffStatusEntries.addAll(staffStatusEntryDao.findByStaffInterval(staffId, expanded.getStart(), expanded.getStop(), false, true, false));
collidingStaffStatusEntries.addAll(staffStatusEntryDao.findByStaffInterval(staffId, expanded.getStart(), expanded.getStop(), false, true, true, false));
}
staffStatusEntryDao.toStaffStatusEntryOutVOCollection(collidingStaffStatusEntries);
collidingStaffStatusEntries = new ArrayList<StaffStatusEntryOutVO>(collidingStaffStatusEntries);
Expand Down

0 comments on commit be76f74

Please sign in to comment.