WMSlite/WmsLite.Api/Repositories/Interfaces/ISysDictItemRepository.cs
zhougf fa1b286463 Add WmsLite monorepo with JWT auth, tenant context, and project READMEs.
Implement API security baseline (sys_user, JWT, audit fields, transactions,
unique constraints) and Web real login with 401 handling. Document setup
and development workflows in root, WmsLite.Api, and WmsLite.Web README files.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-24 14:17:47 +08:00

16 lines
579 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using WmsLite.Api.Models;
namespace WmsLite.Api.Repositories.Interfaces;
/// <summary>查询字典行(租户 + platform system 默认)。</summary>
public interface ISysDictItemRepository
{
/// <summary>
/// 读取当前租户 scope 以及 tenant_id=&quot;system&quot;, owner_code=&quot;system&quot; 的启用字典项。
/// 调用方自行合并优先级。
/// </summary>
Task<List<SysDictItem>> ListEnabledAsync(string tenantId, string ownerCode, IReadOnlyList<string>? categories);
}