Piscal processing work
This commit is contained in:
@@ -66,7 +66,7 @@ namespace LeafWeb.Core.DAL
|
||||
_db.SaveChanges();
|
||||
}
|
||||
|
||||
private void SetLeafInputStatusNoUpdate(LeafInput leafInputFile, LeafInputStatusType status, string description = null)
|
||||
private void SetLeafInputStatusNoUpdate(LeafInput leafInputFile, LeafInputStatusType status, string description = null, string details = null)
|
||||
{
|
||||
leafInputFile.CurrentStatus = status;
|
||||
var leafInputFileStatus = new LeafInputStatus
|
||||
@@ -74,6 +74,7 @@ namespace LeafWeb.Core.DAL
|
||||
Status = status,
|
||||
DateTime = DateTime.Now,
|
||||
Description = description,
|
||||
Details = details,
|
||||
LeafInput = leafInputFile
|
||||
};
|
||||
if (leafInputFile.StatusHistory == null)
|
||||
@@ -81,9 +82,9 @@ namespace LeafWeb.Core.DAL
|
||||
leafInputFile.StatusHistory.Add(leafInputFileStatus);
|
||||
}
|
||||
|
||||
public void SetLeafInputStatus(LeafInput leafInput, LeafInputStatusType status, string description = null)
|
||||
public void SetLeafInputStatus(LeafInput leafInput, LeafInputStatusType status, string description = null, string details = null)
|
||||
{
|
||||
SetLeafInputStatusNoUpdate(leafInput, status, description);
|
||||
SetLeafInputStatusNoUpdate(leafInput, status, description, details);
|
||||
UpdateLeafInput(leafInput);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user