13 lines
526 B
C#
13 lines
526 B
C#
|
|
using YY.Admin.Core.Entity;
|
||
|
|
|
||
|
|
namespace YY.Admin.Core.Services;
|
||
|
|
|
||
|
|
/// <summary>业务打印绑定:免密拉取 + 本地缓存(只读)</summary>
|
||
|
|
public interface IPrintBizTemplateBindService
|
||
|
|
{
|
||
|
|
IReadOnlyList<PrintBizTemplateBind> GetCached();
|
||
|
|
Task<IReadOnlyList<PrintBizTemplateBind>> ListAsync(CancellationToken ct = default);
|
||
|
|
Task<IReadOnlyList<PrintBizTemplateBind>> RefreshCacheAsync(CancellationToken ct = default);
|
||
|
|
Task<PrintBizTemplateBind?> GetByIdAsync(string id, CancellationToken ct = default);
|
||
|
|
}
|