Files
f9-web-ai-test/backend/F9WebAiTest.Application/Interfaces/Repositories/SYS/YuanliaoZhuangkous/IYuanliaoZhuangkouReadRepository.cs
T
2026-10-08 15:44:07 +08:00

25 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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);
}