Files
kunshan-bzfm-mes-backend/DOAN.Service/MES/Product/IService/IProWorkorderService.cs
git_rabbit 4f91390d01 feat: 添加工单管理服务及相关测试
refactor: 重构工单服务接口和实现
test: 添加工单服务的单元测试和集成测试
2026-01-28 17:54:15 +08:00

71 lines
2.0 KiB
C#

using System;
using DOAN.Model;
using DOAN.Model.MES.product;
using DOAN.Model.MES.product.Dto;
using DOAN.Model.System.Dto;
using DOAN.Model.System;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using DOAN.Model.MES.base_;
using DOAN.Model.MES.base_.Dto;
using SqlSugar;
using Infrastructure;
namespace DOAN.Service.MES.product.IService
{
/// <summary>
/// 生产工单service接口
/// </summary>
public interface IProWorkorderService : IBaseService<ProWorkorder>
{
PagedInfo<ProWorkorderDto3> GetList(ProWorkorderQueryDto parm);
PagedInfo<ProWorkorderDto> GetList_NOCheck(ProWorkorderQueryDto parm);
PagedInfo<ProWorkorderTranceProgressDto> GetWorkorderTraceProgressList(ProWorkorderQueryDto query);
ProWorkorder GetInfo(string Id);
ProWorkorder AddProWorkorder(ProWorkorder parm);
int UpdateProWorkorder(ProWorkorder parm);
int Generate_workorder(ProWorkorderQueryDto2 parm);
int Insert_workOrder(ProWorkorder proWorkorder, string next_id);
int MoveWorkorder(string id, int type);
int ImportData(IFormFile formFile,string username);
int ImportDataAppend(IFormFile formFile,string username);
public List<ProWorkorder> WorkOrderExport(DateTime exportTime);
List<BaseMaterialList> GetMaterialInfo(BaseMaterialListQueryDto5 parm);
List<BaseCustom> GetCustomInfo(BaseCustomQueryDto2 parm);
// List<Group> GetGroupList(DateTime dateTime);
List<BaseWorkRoute> GetProcessRoute(DateTime dateTime);
List<BaseWorkRoute> GetAllRoute();
// List<GroupSchedule> GetGroupList(string route_code, DateTime dateTime);
List<BaseGroup> GetGroupList();
List<WorkOrderBom> SearchBOMNum(string workorder_num);
int WorkOrderLog(string workorder, string log, string Operator);
Task<(string, Stream)> ExportPDFByQuestPDFDemo(string[] workorderArray);
Task<CustomException> PrintTicketsByTemplate(ProWorkorderExportDto param);
}
}