feat(物料管理): 新增物料库存相关功能及接口
- 在MmMaterial类中添加ParentMaterialCode字段支持物料层级关系 - 扩展MmRecordOutbound类增加供应商信息字段 - 重构FeedProcessReportwork方法支持原材料工单领料和库存ID指定 - 新增物料库存查询、领料、成品入库、出货等接口 - 完善库存操作逻辑,支持根据库存ID直接操作 - 添加相关DTO类支持新功能的数据传输
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using DOAN.Model.MES.order.Dto;
|
||||
using DOAN.Model.MES.product.Dto;
|
||||
|
||||
namespace DOAN.Service.MES.product.IService
|
||||
@@ -28,5 +29,54 @@ namespace DOAN.Service.MES.product.IService
|
||||
/// <param name="workorder">工单号</param>
|
||||
/// <returns>出货清单数据</returns>
|
||||
List<ShipmentDto> GetShipmentList(string workorder);
|
||||
|
||||
/// <summary>
|
||||
/// 根据工单号查询物料库存接口
|
||||
/// </summary>
|
||||
/// <param name="workorder">工单号</param>
|
||||
/// <returns>物料库存信息列表</returns>
|
||||
List<MaterialInventoryDto> GetMaterialInventoryList(string workorder);
|
||||
|
||||
/// <summary>
|
||||
/// 根据工单领料
|
||||
/// </summary>
|
||||
/// <param name="request">领料请求参数</param>
|
||||
/// <returns>操作结果</returns>
|
||||
bool TakeMaterial(MaterialTakeRequestDto request);
|
||||
|
||||
/// <summary>
|
||||
/// 根据工单成品入库
|
||||
/// </summary>
|
||||
/// <param name="request">成品入库请求参数</param>
|
||||
/// <returns>操作结果</returns>
|
||||
bool StoreProduct(ProductStorageRequestDto request);
|
||||
|
||||
/// <summary>
|
||||
/// 根据工单出货
|
||||
/// </summary>
|
||||
/// <param name="request">出货请求参数</param>
|
||||
/// <returns>操作结果</returns>
|
||||
bool ShipProduct(ShipmentRequestDto request);
|
||||
|
||||
/// <summary>
|
||||
/// 根据工单号获取可领料工单清单
|
||||
/// </summary>
|
||||
/// <param name="workorder">工单号</param>
|
||||
/// <returns>可领料工单清单</returns>
|
||||
List<ProWorkorderDto> GetPickableWorkordersByWorkorder(string workorder);
|
||||
|
||||
/// <summary>
|
||||
/// 根据工单号获取可出货订单清单
|
||||
/// </summary>
|
||||
/// <param name="workorder">工单号</param>
|
||||
/// <returns>可出货订单清单</returns>
|
||||
List<OrderPurchaseDto> GetShippableOrdersByWorkorder(string workorder);
|
||||
|
||||
/// <summary>
|
||||
/// 根据工单号查询成品库存
|
||||
/// </summary>
|
||||
/// <param name="workorder">工单号</param>
|
||||
/// <returns>成品库存信息列表</returns>
|
||||
List<MaterialInventoryDto> GetProductInventoryList(string workorder);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user