技术交底待办未消失
This commit is contained in:
parent
3d534d453f
commit
641fb69dc3
@ -95,6 +95,7 @@ namespace APT.FO.WebApi.Controllers
|
||||
t.Nav_User = null;
|
||||
});
|
||||
}
|
||||
T_FM_NOTIFICATION_TASK task = null;
|
||||
if (entity.PUBLISH != null && entity.PUBLISH.Equals("SaveAndNotify"))
|
||||
{
|
||||
if (entity.DISCLOSURE_DATE == null || entity.DISCLOSURE_DATE == DateTime.Parse("0001-01-01 00:00:00"))
|
||||
@ -145,6 +146,11 @@ namespace APT.FO.WebApi.Controllers
|
||||
}
|
||||
}
|
||||
}
|
||||
if (entity.TaskID != Guid.Empty)
|
||||
{
|
||||
task = NotificationTaskService.GetTaskFinishModel(entity.TaskID);
|
||||
task.SOURCE_FORMCODE = "FO037_SHOWPRINT";
|
||||
}
|
||||
}
|
||||
this.UnifiedCommit(() =>
|
||||
{
|
||||
@ -162,6 +168,8 @@ namespace APT.FO.WebApi.Controllers
|
||||
this.BantchSaveEntityNoCommit(notices);
|
||||
if (job != null)
|
||||
UpdateEntityNoCommit(job);
|
||||
if (task != null)
|
||||
UpdateEntityNoCommit(task);
|
||||
});
|
||||
return true;
|
||||
});
|
||||
|
||||
@ -95,6 +95,7 @@ namespace APT.FO.WebApi.Controllers
|
||||
t.Nav_User = null;
|
||||
});
|
||||
}
|
||||
T_FM_NOTIFICATION_TASK task = null;
|
||||
if (entity.PUBLISH != null && entity.PUBLISH.Equals("SaveAndNotify"))
|
||||
{
|
||||
if (entity.DISCLOSURE_DATE == null || entity.DISCLOSURE_DATE == DateTime.Parse("0001-01-01 00:00:00"))
|
||||
@ -126,6 +127,11 @@ namespace APT.FO.WebApi.Controllers
|
||||
{
|
||||
entity.FORM_STATUS = (int)FOTeamActivityState.已归档;
|
||||
}
|
||||
if (entity.TaskID != Guid.Empty)
|
||||
{
|
||||
task = NotificationTaskService.GetTaskFinishModel(entity.TaskID);
|
||||
task.SOURCE_FORMCODE = "FO035_SHOWPRINT";
|
||||
}
|
||||
}
|
||||
this.UnifiedCommit(() =>
|
||||
{
|
||||
@ -141,6 +147,8 @@ namespace APT.FO.WebApi.Controllers
|
||||
this.BantchSaveEntityNoCommit(files);
|
||||
if (notices != null && notices.Any())
|
||||
this.BantchSaveEntityNoCommit(notices);
|
||||
if (task != null)
|
||||
UpdateEntityNoCommit(task);
|
||||
});
|
||||
return true;
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user