diff --git a/Tiobon.Core.Services/Ghre/Ghre_StudyRuleServices.cs b/Tiobon.Core.Services/Ghre/Ghre_StudyRuleServices.cs index 3a5976e7..373b0f18 100644 --- a/Tiobon.Core.Services/Ghre/Ghre_StudyRuleServices.cs +++ b/Tiobon.Core.Services/Ghre/Ghre_StudyRuleServices.cs @@ -344,10 +344,10 @@ public class Ghre_StudyRuleServices : BaseServices x.StaffId).ToList(); #region 抓取新入职员工 + int month = 3; var inStaffIds = new List(); if (rule.TrainType == "NewStaff") { - int month = 3; var config = await Db.Queryable().Where(x => x.ConfigCode == "New_Staff_Month").FirstAsync(); if (config != null) {