feat: 添加工单管理服务及相关测试
refactor: 重构工单服务接口和实现 test: 添加工单服务的单元测试和集成测试
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
using DOAN.Model.MES.product;
|
||||
using DOAN.Model.MES.product.Dto;
|
||||
|
||||
namespace DOAN.Service.MES.product.IService
|
||||
{
|
||||
/// <summary>
|
||||
/// 工单查询服务接口
|
||||
/// </summary>
|
||||
public interface IProWorkorderQueryService
|
||||
{
|
||||
/// <summary>
|
||||
/// 查询生产工单列表
|
||||
/// </summary>
|
||||
/// <param name="parm"></param>
|
||||
/// <returns></returns>
|
||||
PagedInfo<ProWorkorderDto3> GetList(ProWorkorderQueryDto parm);
|
||||
|
||||
/// <summary>
|
||||
/// 获取工单无校验
|
||||
/// </summary>
|
||||
/// <param name="parm"></param>
|
||||
/// <returns></returns>
|
||||
PagedInfo<ProWorkorderDto> GetList_NOCheck(ProWorkorderQueryDto parm);
|
||||
|
||||
/// <summary>
|
||||
/// 获取详情
|
||||
/// </summary>
|
||||
/// <param name="Id"></param>
|
||||
/// <returns></returns>
|
||||
ProWorkorder GetInfo(string Id);
|
||||
|
||||
/// <summary>
|
||||
/// 获取工单进度跟踪列表
|
||||
/// </summary>
|
||||
/// <param name="query"></param>
|
||||
/// <returns></returns>
|
||||
PagedInfo<ProWorkorderTranceProgressDto> GetWorkorderTraceProgressList(ProWorkorderQueryDto query);
|
||||
|
||||
/// <summary>
|
||||
/// 查询BOM 及其所需数量
|
||||
/// </summary>
|
||||
/// <param name="workorder_num"></param>
|
||||
/// <returns></returns>
|
||||
List<WorkOrderBom> SearchBOMNum(string workorder_num);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user