This commit is contained in:
wyw 2026-07-20 08:35:46 +08:00
parent 8c02e734b4
commit d381ce07cd

View File

@ -1927,7 +1927,7 @@ namespace APT.PP.WebApi.Controllers.Api.PP
BaseFilter baseFilter = new BaseFilter(orgId);
baseFilter.Include = new string[] { "Nav_RecordUser", "Nav_TrainUserList.Nav_User.Nav_Department", "Nav_TrainUserList.Nav_User.Nav_Person.Nav_Post", "Nav_Files" };
var notifys = GetEntities<T_SE_TRAIN_NOTIFY>(t => (t.STATUS == SETrainNotifyStatus. || t.STATUS == SETrainNotifyStatus.) && t.TRAIN_START_TIME.Value < maxTime && t.CREATE_NOTIFY_RECORD == true, baseFilter).ToList();
var notifys = GetEntities<T_SE_TRAIN_NOTIFY>(t => (t.STATUS == SETrainNotifyStatus. || t.STATUS == SETrainNotifyStatus.) && t.STATUS != SETrainNotifyStatus. && t.TRAIN_START_TIME.Value < maxTime && t.CREATE_NOTIFY_RECORD == true, baseFilter).ToList();
#region
if (notifys != null && notifys.Any() && notifys.Count() > 0)