using WIDESEA_Common.LocationEnum;
using WIDESEA_Common.StockEnum;
using WIDESEA_Core;
using WIDESEA_Model.Models;
namespace WIDESEA_IRecordService
{
///
/// 记录服务聚合接口
///
public interface IRecordService : IDependency
{
///
/// 货位状态变更记录服务
///
ILocationStatusChangeRecordService LocationStatusChangeRecordService { get; }
///
/// 库存数量变更记录服务
///
IStockQuantityChangeRecordService StockQuantityChangeRecordService { get; }
///
/// 新增货位状态变更记录
///
Task AddLocationChangeRecordAsync(
Dt_LocationInfo beforeLocation,
Dt_LocationInfo afterLocation,
LocationChangeType changeType,
int? taskNum = null,
string? orderNo = null,
int? orderId = null,
string? remark = null);
///
/// 新增库存变更记录
///
Task AddStockChangeRecordAsync(
Dt_StockInfo? beforeStock,
Dt_StockInfo? afterStock,
StockChangeTypeEnum changeType,
int? taskNum = null,
string? orderNo = null,
string? remark = null);
}
}