1b9367dcbb
Replace 11 per-table record columns on /refresh-status with Passed/Failed summary counts and a click-to-expand detail dialog showing per-table results. Add date-range SQL query to push filtering to the database. Sort pipeline dropdown alphabetically on /data-sync/requests.
26 lines
1012 B
C#
26 lines
1012 B
C#
using JdeScoping.Core.Models.Infrastructure;
|
|
|
|
namespace JdeScoping.Core.Interfaces;
|
|
|
|
/// <summary>
|
|
/// Data sync operations for LotFinder SQL Server cache database.
|
|
/// </summary>
|
|
public partial interface ILotFinderRepository
|
|
{
|
|
/// <summary>
|
|
/// Gets the latest data update record per table/type combination.
|
|
/// </summary>
|
|
/// <param name="ct">Cancellation token.</param>
|
|
/// <returns>Latest data updates.</returns>
|
|
Task<List<DataUpdate>> GetLastDataUpdatesAsync(CancellationToken ct = default);
|
|
|
|
/// <summary>
|
|
/// Gets all data update records within a date range.
|
|
/// </summary>
|
|
/// <param name="minDt">Start of range (inclusive).</param>
|
|
/// <param name="maxDt">End of range (inclusive, end of day).</param>
|
|
/// <param name="ct">Cancellation token.</param>
|
|
/// <returns>Data updates within the range.</returns>
|
|
Task<List<DataUpdate>> GetDataUpdatesInRangeAsync(DateTime minDt, DateTime maxDt, CancellationToken ct = default);
|
|
}
|