25 lines
716 B
C#
25 lines
716 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);
|
|||
|
|
|
|||
|
|
Task SyncFromRemoteAsync(CancellationToken ct = default);
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public record RubberQuickTestStdPageResult(
|
|||
|
|
List<MesXslRubberQuickTestStd> Records,
|
|||
|
|
long Total,
|
|||
|
|
int PageNo,
|
|||
|
|
int PageSize);
|