From 6eddf943c2d797593bd62229466988a33681d7c0 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Sun, 7 Apr 2024 15:22:19 +0800 Subject: [PATCH] fix job --- Src/Dlhis.ScheduledTask/Jobs/MealSupplementHandlerJob.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Src/Dlhis.ScheduledTask/Jobs/MealSupplementHandlerJob.cs b/Src/Dlhis.ScheduledTask/Jobs/MealSupplementHandlerJob.cs index 464d76b5..10f06979 100644 --- a/Src/Dlhis.ScheduledTask/Jobs/MealSupplementHandlerJob.cs +++ b/Src/Dlhis.ScheduledTask/Jobs/MealSupplementHandlerJob.cs @@ -60,6 +60,8 @@ public class MealSupplementHandlerJob : BaseJob //后台任务获取人员 BackgroundJob.Enqueue(x => x.TodoByCodeAsync(item.Code)); + + continue; } else if (gainfo.ResignationDate < item.Date) { @@ -88,9 +90,9 @@ public class MealSupplementHandlerJob : BaseJob { } - } - continue; + continue; + } } else {