Merge branch 'master' of http://121.41.2.71:3000/wyw/mh_jy_safe
This commit is contained in:
commit
1483b91663
@ -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));
|
pointS = GetEntities<T_SE_TEST_ENUM_POINT>(t => t.NAME == PointName, new BaseFilter(orgId));
|
||||||
if (pointS == null || pointS.Count() < 1)
|
if (pointS == null || pointS.Count() < 1)
|
||||||
{
|
{
|
||||||
throw new Exception("未找到试题知识点【" + PointName + "】的配置信息,请沟通管理员完善知识点和题库!");
|
throw new Exception("未找到试题知识点【" + PointName + "】的配置信息,配置路径:系统管理 > 安全教育培训配置 > 知识点类型。");
|
||||||
}
|
}
|
||||||
var pointIDS = pointS.Select(t => t.ID).ToList();
|
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();
|
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