25 lines
1.1 KiB
C#
25 lines
1.1 KiB
C#
using F9WebAiTest.Application.Common;
|
||
using F9WebAiTest.Application.Dtos.SYS.WuziMulus;
|
||
using F9WebAiTest.Application.Dtos.SYS.YuanliaoZhuangkous;
|
||
using F9WebAiTest.Domain.Interfaces;
|
||
|
||
namespace F9WebAiTest.Application.Interfaces.Repositories.SYS.YuanliaoZhuangkous;
|
||
|
||
/// <summary>原料庄口读仓储(返回读模型 DTO)</summary>
|
||
public interface IYuanliaoZhuangkouReadRepository : IDInterface
|
||
{
|
||
Task<PageResult<YuanliaoZhuangkouReadDto_Table>> GetPagedAsync(int year, string chandi, string zhandian, string jibie,
|
||
string keyword, int pageIndex, int pageSize);
|
||
|
||
Task<YuanliaoZhuangkouReadDto_Edit> GetByIdForEditAsync(long id);
|
||
|
||
/// <summary>取某年度已使用的编号(用于自动生成下一个编号)</summary>
|
||
Task<List<string>> GetCodesByYearAsync(int year);
|
||
|
||
/// <summary>物资(茧别)选项:来自物资目录中名称含"茧"的物资</summary>
|
||
Task<List<WuziMuluOptionDto>> GetWuziOptionsAsync(string keyword);
|
||
|
||
/// <summary>按物资 Id 取名称(来自物资目录),不存在返回空串</summary>
|
||
Task<string> GetWuziNameAsync(long wzmlId);
|
||
}
|