26 lines
801 B
C#
26 lines
801 B
C#
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);
|