Files
qhmes/yy-admin-master/YY.Admin.Core/Core/Services/IRubberQuickTestStdService.cs

26 lines
801 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using YY.Admin.Core.Entity;
namespace YY.Admin.Core.Services;
/// <summary>胶料快检实验标准MES 只读同步)</summary>
public interface IRubberQuickTestStdService
{
Task<RubberQuickTestStdPageResult> PageAsync(
int pageNo, int pageSize,
string? stdName = null,
string? rubberMaterialName = null,
string? enableStatus = null,
CancellationToken ct = default);
Task<MesXslRubberQuickTestStd?> GetByIdAsync(string id, CancellationToken ct = default);
/// <returns>本地缓存是否有变更(有差异才写入)</returns>
Task<bool> SyncFromRemoteAsync(CancellationToken ct = default);
}
public record RubberQuickTestStdPageResult(
List<MesXslRubberQuickTestStd> Records,
long Total,
int PageNo,
int PageSize);