Files
WMSlite/WmsLite.Api/Services/Interfaces/IInventoryMovementService.cs
T
zhougfandCursor 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

23 lines
950 B
C#

using System.Threading.Tasks;
using WmsLite.Api.Enums;
using WmsLite.Api.Models;
namespace WmsLite.Api.Services.Interfaces;
public interface IInventoryMovementService
{
Task ApplySnapshotAsync(Inventory inventory, Inventory? existing, InventoryMovementType movementType, string? bizNo = null);
Task PendingInboundAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
Task ConfirmInboundAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
Task PendingOutboundAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
Task ConfirmOutboundAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
Task FreezeAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
Task UnfreezeAsync(Inventory inventory, decimal qty, string? bizNo = null, string? remark = null);
}