refactor 警告/提醒处理
This commit is contained in:
@@ -210,12 +210,12 @@ public class AssignmentService : IAssignmentService
|
||||
Enable = true,
|
||||
Sections = new List<TimePeriodWeekDaySection>()
|
||||
{
|
||||
new TimePeriodWeekDaySection()
|
||||
new()
|
||||
{
|
||||
DayOfWeek= DayOfWeek.Monday,
|
||||
TimePeriods = new List<TimePeriod>()
|
||||
{
|
||||
new TimePeriod
|
||||
new()
|
||||
{
|
||||
Start = TimeOnly.Parse("08:00:00"),
|
||||
End = TimeOnly.Parse("17:30:00"),
|
||||
@@ -236,7 +236,7 @@ public class AssignmentService : IAssignmentService
|
||||
Name = "计划的一部分",
|
||||
Schedules = new List<ScheduleDto>
|
||||
{
|
||||
new ScheduleDto
|
||||
new()
|
||||
{
|
||||
Name = "国庆节",
|
||||
DateTimePeriod = new DateTimePeriod
|
||||
|
||||
Reference in New Issue
Block a user