打印模板主分单条件

optimize
wanghaomei 2 years ago
parent ae3383436d
commit 7f0ddf5c1e

@ -56,6 +56,8 @@ namespace Myshipping.Application
.WhereIF(!string.IsNullOrWhiteSpace(input.TypeName), u => u.TypeName.Contains(input.TypeName.Trim()))
.WhereIF(!string.IsNullOrWhiteSpace(input.FileName), u => u.FileName.Contains(input.FileName.Trim()))
.WhereIF(!string.IsNullOrWhiteSpace(input.TenantName), u => u.FileName.Contains(input.TenantName.Trim()))
.WhereIF(input.IsMain.HasValue, u => u.IsMain == input.IsMain)
.WhereIF(input.IsSub.HasValue, u => u.IsSub == input.IsSub)
.ToPagedListAsync(input.PageNo, input.PageSize);
return entities.XnPagedResult();
}

@ -94,5 +94,14 @@ namespace Myshipping.Application
/// </summary>
public string TenantName { get; set; }
/// <summary>
/// 主单
/// </summary>
public bool? IsMain { get; set; }
/// <summary>
/// 分单
/// </summary>
public bool? IsSub { get; set; }
}
}

Loading…
Cancel
Save