2025-12-24 19:09:42 +08:00
|
|
|
using DOAN.Model.BZFM;
|
2026-01-09 10:53:37 +08:00
|
|
|
using DOAN.Model.BZFM.Dto;
|
|
|
|
|
using Microsoft.AspNetCore.Http;
|
2025-12-24 19:09:42 +08:00
|
|
|
|
|
|
|
|
namespace DOAN.Service.BZFM.IBZFMService
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 库存表service接口
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IMmInventoryService : IBaseService<MmInventory>
|
|
|
|
|
{
|
|
|
|
|
PagedInfo<MmInventoryDto> GetList(MmInventoryQueryDto parm);
|
|
|
|
|
|
|
|
|
|
MmInventory GetInfo(int Id);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MmInventory AddMmInventory(MmInventory parm);
|
|
|
|
|
int UpdateMmInventory(MmInventory parm);
|
|
|
|
|
|
2025-12-29 11:43:25 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 获取物料清单下拉数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
List<MmMaterialOption> GetMaterialOption();
|
|
|
|
|
|
2025-12-29 13:56:52 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 获取库位下拉数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
List<MmLocationOption> GetLocationOption();
|
|
|
|
|
|
2025-12-29 11:43:25 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 获取出/入库操作类型下拉数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
List<MmTransactionOption> GetTransactionOption();
|
2026-01-13 13:57:56 +08:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取出/入库记录
|
|
|
|
|
/// </summary>
|
2026-01-13 14:32:20 +08:00
|
|
|
PagedInfo<MmInventoryRecordDto> GetInOrOutRecord(MmInventoryRecordQueryDto parm);
|
2026-01-13 13:57:56 +08:00
|
|
|
|
2025-12-29 11:43:25 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 创建入库单 成功返回ok ReceiptType = 1蓝单 ReceiptType = 2 红单(逆向)
|
|
|
|
|
/// </summary>
|
|
|
|
|
string CreateInboundReceipt(InboundReceiptDto parm);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建出库单 成功返回ok
|
|
|
|
|
/// </summary>
|
|
|
|
|
string CreateOutboundReceipt(OutboundReceiptDto parm);
|
|
|
|
|
|
2026-01-09 10:53:37 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 导入
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="inventory"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
ImportResultDto ImportInventory(IFormFile formFile, string username);
|
2025-12-29 11:43:25 +08:00
|
|
|
|
2026-01-09 10:53:37 +08:00
|
|
|
public PagedInfo<MmInventoryExcelDto> SelectInventoryList(MmInventoryQueryDto inventory, PagerInfo pager);
|
2025-12-24 19:09:42 +08:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|