forked from github/wulkanowy-mirror
Add condition to exam query (#116)
This commit is contained in:
parent
5685e73e46
commit
3f54d13b6b
@ -135,6 +135,7 @@ public class ExamsSync {
|
|||||||
.where(ExamDao.Properties.DayId.eq(dayId),
|
.where(ExamDao.Properties.DayId.eq(dayId),
|
||||||
ExamDao.Properties.EntryDate.eq(examApi.getEntryDate()),
|
ExamDao.Properties.EntryDate.eq(examApi.getEntryDate()),
|
||||||
ExamDao.Properties.SubjectAndGroup.eq(examApi.getSubjectAndGroup()),
|
ExamDao.Properties.SubjectAndGroup.eq(examApi.getSubjectAndGroup()),
|
||||||
|
ExamDao.Properties.Type.eq(examApi.getType()),
|
||||||
ExamDao.Properties.Teacher.eq(examApi.getTeacher()))
|
ExamDao.Properties.Teacher.eq(examApi.getTeacher()))
|
||||||
.unique();
|
.unique();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user