Compare commits

..

No commits in common. "7526ca2905d82c6a7e98d2fe04f016f6ab53904b" and "a3c575857a9e165fda632e2dd5b07c266cadbf21" have entirely different histories.

1 changed files with 6 additions and 9 deletions

View File

@ -108,24 +108,21 @@ namespace IRaCIS.Core.Application.Contracts
public int AttachmentCount { get; set; }
public DateTime? SuggestFinishTime
{
get
{
public DateTime? SuggestFinishTime { get {
if (this.CreateTime > this.UserCreateTime && this.CurrentStaffTrainDays != null)
{
return DateTime.Parse(this.CreateTime.AddDays(this.CurrentStaffTrainDays.Value).ToString("yyyy-MM-dd")+" 22:00:00");
return this.CreateTime.AddDays(this.CurrentStaffTrainDays.Value);
}
if (this.CreateTime < this.UserCreateTime && this.NewStaffTrainDays != null)
{
return DateTime.Parse(this.UserCreateTime.AddDays(this.NewStaffTrainDays.Value).ToString("yyyy-MM-dd") + " 22:00:00");
return this.UserCreateTime.AddDays(this.NewStaffTrainDays.Value);
}
return null;
}
}
return null;
} }
public string DocTypeCode { get; set; }