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>
20 lines
644 B
C#
20 lines
644 B
C#
using System.Threading.Tasks;
|
|
using WmsLite.Api.Common;
|
|
using WmsLite.Api.Dtos.Inventory;
|
|
|
|
namespace WmsLite.Api.Services.Interfaces;
|
|
|
|
public interface IInventoryService
|
|
{
|
|
Task<PagedResult<InventoryViewDto>> GetPagedListAsync(InventoryPagedQuery query);
|
|
|
|
Task<InventoryViewDto> CreateAsync(InventorySaveRequest request);
|
|
|
|
Task<InventoryViewDto?> UpdateAsync(InventoryUpdateRequest request);
|
|
|
|
Task<int> DeleteAsync(long id, string tenantId, string ownerCode);
|
|
|
|
/// <summary>通过库存动作服务执行调整;不直接改写数量字段。</summary>
|
|
Task<InventoryViewDto?> MoveAsync(InventoryMoveRequest request);
|
|
}
|