检查任务制定 跑批 修改 new list
This commit is contained in:
parent
a2399db9bd
commit
8c28d30760
@ -362,7 +362,7 @@ namespace APT.PP.WebApi.Controllers.Api.PP
|
||||
|
||||
listFMUserNotice = new List<T_FM_USER>();
|
||||
List<DateTime> listEndTime = new List<DateTime>();
|
||||
|
||||
listArea = new List<T_BS_SAFE_CHECK_RISK_AREA>();
|
||||
if (listPlanSetRund[i].Nav_ListDepOut != null && listPlanSetRund[i].Nav_ListDepOut.Any())
|
||||
listDepIDOut = listPlanSetRund[i].Nav_ListDepOut.Select(e => e.DEPARTMENT_ID);
|
||||
else
|
||||
@ -942,7 +942,13 @@ namespace APT.PP.WebApi.Controllers.Api.PP
|
||||
{
|
||||
task.UPDATE_SUCCES_TIME = DateTime.Now;
|
||||
}
|
||||
|
||||
if (listArea != null && listArea.Any())
|
||||
{
|
||||
foreach (var item in listArea)
|
||||
{
|
||||
item.Nav_RiskArea = null;
|
||||
}
|
||||
}
|
||||
//给 T_FM_NOTIFICATION_TASK 添加实体
|
||||
NotificationTaskService.SendNotificationTask(noticeTitles, noticeDataIds, filter.GetOrgId(), noticeUserIds, noticeUserNames, DateTime.Now, listEndTime, 0, "BS032", () =>
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user