This commit is contained in:
geh 2025-05-08 10:28:35 +08:00
parent bb4c8e5900
commit 7a81d04d48
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ namespace FineUIPro.Web.HSSE.EduTrain
private List<Model.Training_TestTraining> GetNewTraining(string parentId)
{
return (from x in Funs.DB.Training_TestTraining
where x.SupTrainingId == parentId && x.TrainingId != "99ccf4c8-6f8e-47da-a900-53b12a278f25"
where x.SupTrainingId == parentId && !x.TrainingName.Contains("岗位人员试题")
orderby x.TrainingCode
select x).ToList();
}

View File

@ -88,7 +88,7 @@ namespace FineUIPro.Web.HSSE.EduTrain
private List<Model.Training_TestTraining> GetNewTraining(string parentId)
{
return (from x in Funs.DB.Training_TestTraining
where x.SupTrainingId == parentId && x.TrainingId == "99ccf4c8-6f8e-47da-a900-53b12a278f25"
where x.SupTrainingId == parentId && x.TrainingName.Contains("岗位人员试题")
orderby x.TrainingCode
select x).ToList();
}