This commit is contained in:
jl
2024-12-09 13:16:59 +08:00
parent 122c2cb3bc
commit 8f5d9ffbd3
5 changed files with 26 additions and 26 deletions

View File

@ -131,12 +131,12 @@ namespace Epost.DAL.Cache
//{
// PlanJobList.Remove(planitem);
//}
List<JobModel> list = PlanJobList.FindAll(p => p.Block == JobParam.FirstOrDefault().Block);
foreach (JobModel item in list)
{
PlanJobList.Remove(item);
}
//List<JobModel> list = PlanJobList.FindAll(p => p.Block == JobParam.FirstOrDefault().Block);
//foreach (JobModel item in list)
//{
// PlanJobList.Remove(item);
//}
JobParam.ForEach(m => PlanJobList.Remove(m));//删除计划任务
}