chore: update
This commit is contained in:
@@ -29,10 +29,11 @@ public class ShiftRegistrationEntity extends BaseEntity {
|
||||
ShiftEntity registratingShift
|
||||
) {
|
||||
return list(
|
||||
"staffId = ?1 and shift.startTime < ?2 and shift.endTime > ?3",
|
||||
"staffId = ?1 and shift.startTime < ?2 and shift.endTime > ?3 and shift.date = date",
|
||||
staffId,
|
||||
registratingShift.endTime,
|
||||
registratingShift.startTime
|
||||
registratingShift.startTime,
|
||||
registratingShift.date
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user