桌面端新增密炼计划获取
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using YY.Admin.Core.Entity;
|
||||
|
||||
namespace YY.Admin.Core.Services;
|
||||
|
||||
/// <summary>密炼生产计划(MES 只读同步)</summary>
|
||||
public interface IMixingProductionPlanService
|
||||
{
|
||||
Task<MixingProductionPlanPageResult> PageAsync(
|
||||
int pageNo, int pageSize,
|
||||
DateTime? planDateFrom = null,
|
||||
DateTime? planDateTo = null,
|
||||
string? machineName = null,
|
||||
int? shiftFlag = null,
|
||||
string? planNo = null,
|
||||
string? materialName = null,
|
||||
CancellationToken ct = default);
|
||||
|
||||
Task<List<MesXslMixingProductionPlan>> GetAllCachedAsync(CancellationToken ct = default);
|
||||
|
||||
/// <returns>本地缓存是否有变更(有差异才写入)</returns>
|
||||
Task<bool> SyncFromRemoteAsync(CancellationToken ct = default);
|
||||
}
|
||||
|
||||
public record MixingProductionPlanPageResult(
|
||||
List<MesXslMixingProductionPlan> Records,
|
||||
long Total,
|
||||
int PageNo,
|
||||
int PageSize);
|
||||
@@ -14,7 +14,8 @@ public interface IRubberQuickTestStdService
|
||||
|
||||
Task<MesXslRubberQuickTestStd?> GetByIdAsync(string id, CancellationToken ct = default);
|
||||
|
||||
Task SyncFromRemoteAsync(CancellationToken ct = default);
|
||||
/// <returns>本地缓存是否有变更(有差异才写入)</returns>
|
||||
Task<bool> SyncFromRemoteAsync(CancellationToken ct = default);
|
||||
}
|
||||
|
||||
public record RubberQuickTestStdPageResult(
|
||||
|
||||
Reference in New Issue
Block a user