fix: add an additional condition
This commit is contained in:
parent
d8dbf1562f
commit
f203ee71f0
@ -155,7 +155,8 @@ internal partial class ScheduleSynchronizer(UberDbContext dbContext, IOptionsSna
|
||||
l.IsEven == groupInfo.IsEven &&
|
||||
l.DayOfWeek == groupInfo.Day &&
|
||||
l.PairNumber == groupInfo.Pair &&
|
||||
l.Discipline?.Name == discipline.Name,
|
||||
l.Discipline?.Name == discipline.Name &&
|
||||
l.Group?.Name == group.Name,
|
||||
() =>
|
||||
{
|
||||
var lesson = new Lesson
|
||||
|
Loading…
Reference in New Issue
Block a user