chore: update
This commit is contained in:
@@ -29,10 +29,11 @@ public class ShiftRegistrationEntity extends BaseEntity {
|
|||||||
ShiftEntity registratingShift
|
ShiftEntity registratingShift
|
||||||
) {
|
) {
|
||||||
return list(
|
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,
|
staffId,
|
||||||
registratingShift.endTime,
|
registratingShift.endTime,
|
||||||
registratingShift.startTime
|
registratingShift.startTime,
|
||||||
|
registratingShift.date
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user