//筛选项目相关的工作内容 public override AbstractWeeklies Summarize() { WeeklySet.ToList() .ForEach(w => CurrentWeekWorks = CurrentWeekWorks.Concat(w.Value.CurrentWeekWork).ToList()); WeeklySet.ToList() .ForEach(w => UnnormalCases = UnnormalCases.Concat(w.Value.UnnormalCase).ToList()); WeeklySet.ToList() .ForEach(w => CurrentWeekReleases = CurrentWeekReleases.Concat(((DevWeekly)w.Value).CurrentWeekRelease).ToList()); WeeklySet.ToList() .ForEach(w => NextWeekReleasePlans = NextWeekReleasePlans.Concat(((DevWeekly)w.Value).NextWeekReleasePlan).ToList()); //筛选项目类工作(用于与工作计划交互匹配) ProjectWorkList = CurrentWeekWorks.Where(w => w.IsProjectWork()) .ToList(); //区分分析部与开发部的工作(用于计算[分析部/开发部]*[前台/后台]共计4张表) CurrentWeekWorksDevDivisions = ProjectWorkList.Where(w => w.HostDivision.Contains("开发")).ToList(); CurrentWeekWorksDataSci = ProjectWorkList.Where(w => w.HostDivision.Contains("数据")).ToList(); return(this); }
public override AbstractWeeklies Sort() { CurrentWeekWorks.Sort(); UnnormalCases.Sort(); CurrentWeekReleases.Sort(); NextWeekReleasePlans.Sort(); return(this); }