Compare commits

...

2 Commits

Author SHA1 Message Date
he 7526ca2905 Merge branch 'Test_IRC_Net8' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net8
continuous-integration/drone/push Build is running Details
2025-04-14 14:10:23 +08:00
he fd83c3e7a7 修改 2025-04-14 14:10:23 +08:00
1 changed files with 9 additions and 6 deletions

View File

@ -108,21 +108,24 @@ 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 this.CreateTime.AddDays(this.CurrentStaffTrainDays.Value);
return DateTime.Parse(this.CreateTime.AddDays(this.CurrentStaffTrainDays.Value).ToString("yyyy-MM-dd")+" 22:00:00");
}
if (this.CreateTime < this.UserCreateTime && this.NewStaffTrainDays != null)
{
return this.UserCreateTime.AddDays(this.NewStaffTrainDays.Value);
return DateTime.Parse(this.UserCreateTime.AddDays(this.NewStaffTrainDays.Value).ToString("yyyy-MM-dd") + " 22:00:00");
}
return null;
} }
}
}
public string DocTypeCode { get; set; }