Compare commits
No commits in common. "7526ca2905d82c6a7e98d2fe04f016f6ab53904b" and "a3c575857a9e165fda632e2dd5b07c266cadbf21" have entirely different histories.
7526ca2905
...
a3c575857a
|
@ -108,24 +108,21 @@ namespace IRaCIS.Core.Application.Contracts
|
||||||
|
|
||||||
public int AttachmentCount { get; set; }
|
public int AttachmentCount { get; set; }
|
||||||
|
|
||||||
public DateTime? SuggestFinishTime
|
public DateTime? SuggestFinishTime { get {
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
|
|
||||||
if (this.CreateTime > this.UserCreateTime && this.CurrentStaffTrainDays != null)
|
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)
|
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; }
|
public string DocTypeCode { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue