三级安全教育 知识点缺少 提示修改
This commit is contained in:
parent
7aab9367ce
commit
ad1e6041f7
@ -318,7 +318,7 @@ namespace APT.SC.WebApi.Controllers.Api.SE
|
||||
pointS = GetEntities<T_SE_TEST_ENUM_POINT>(t => t.NAME == PointName, new BaseFilter(orgId));
|
||||
if (pointS == null || pointS.Count() < 1)
|
||||
{
|
||||
throw new Exception("未找到试题知识点【" + PointName + "】的配置信息,请沟通管理员完善知识点和题库!");
|
||||
throw new Exception("未找到试题知识点【" + PointName + "】的配置信息,配置路径:系统管理 > 安全教育培训配置 > 知识点类型。");
|
||||
}
|
||||
var pointIDS = pointS.Select(t => t.ID).ToList();
|
||||
var allTests = GetEntities<T_SE_TEST>(st => st.Nav_Points.Any(pt => pointIDS.Contains((Guid)pt.POINT_ID)), testFilter).ToList();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user