修改
continuous-integration/drone/push Build is passing Details

Test_IRC_Net8
he 2025-03-10 14:45:03 +08:00
parent e5fa3a09b3
commit 0f03dbc75b
2 changed files with 4 additions and 4 deletions

View File

@ -191,12 +191,12 @@ namespace IRaCIS.Core.Application.Contracts
/// <summary>
/// 开始时间
/// </summary>
public DateTime? StartCreateTime { get; set; }
public DateTime? StartConfirmTime { get; set; }
/// <summary>
/// 结束时间
/// </summary>
public DateTime? EndCreateTime { get; set; }
public DateTime? EndConfirmTime { get; set; }
}
///<summary> SystemDocumentAddOrEdit 列表查询参数模型</summary>

View File

@ -557,8 +557,8 @@ namespace IRaCIS.Core.Application.Services
.WhereIf(inQuery.FileTypeId != null, t => t.FileTypeId == inQuery.FileTypeId)
.WhereIf(inQuery.IsConfirmed == true, t => t.ConfirmTime != null)
.WhereIf(inQuery.IsConfirmed == false, t => t.ConfirmTime == null)
.WhereIf(inQuery.StartCreateTime!=null, t => t.CreateTime >= inQuery.StartCreateTime.Value)
.WhereIf(inQuery.EndCreateTime != null, t => t.CreateTime <= inQuery.EndCreateTime.Value)
.WhereIf(inQuery.StartConfirmTime != null, t => t.ConfirmTime >= inQuery.StartConfirmTime.Value)
.WhereIf(inQuery.EndConfirmTime != null, t => t.ConfirmTime <= inQuery.EndConfirmTime.Value)
.WhereIf(!string.IsNullOrEmpty(inQuery.UserName), t => t.UserName.Contains(inQuery.UserName))
.WhereIf(inQuery.IsDeleted != null, t => t.IsDeleted == inQuery.IsDeleted);