处理组织被删除的问题
This commit is contained in:
parent
1e41bf3585
commit
f96bcb7333
@ -144,7 +144,7 @@ namespace APT.HM.WebApi.Controllers.Api
|
||||
listRiskArea.Add(area);
|
||||
foreach (var level in levels)
|
||||
{
|
||||
var sendUsers = GetEntities<T_HM_EVALUATE_RISK>(t => t.AREA_ID == Area.AREA_ID && t.DEPARTMENT_LIABLE_ID != null && t.LEVEL == (FMDepartmentType)int.Parse(level), new BaseFilter(entity.ORG_ID)).Select(t => new { t.DEPARTMENT_LIABLE_ID }).Distinct();
|
||||
var sendUsers = GetEntities<T_HM_EVALUATE_RISK>(t => t.AREA_ID == Area.AREA_ID &&t.Nav_DepartmentLiable.IS_DELETED==false && t.DEPARTMENT_LIABLE_ID != null && t.LEVEL == (FMDepartmentType)int.Parse(level), new BaseFilter(entity.ORG_ID)).Select(t => new { t.DEPARTMENT_LIABLE_ID }).Distinct();
|
||||
if (sendUsers.Any())
|
||||
{
|
||||
T_HM_RISK_TASK_DETAIL taskDetail = new T_HM_RISK_TASK_DETAIL();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user