2024-07-16 14:40:02 +08:00
|
|
|
using System;
|
|
|
|
|
using DOAN.Model;
|
|
|
|
|
|
|
|
|
|
using DOAN.Model.MES.product;
|
|
|
|
|
using DOAN.Model.MES.product.Dto;
|
2024-07-17 14:28:32 +08:00
|
|
|
using DOAN.Model.System.Dto;
|
|
|
|
|
using DOAN.Model.System;
|
2024-07-17 11:42:05 +08:00
|
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
2024-08-30 16:36:13 +08:00
|
|
|
using DOAN.Model.MES.base_;
|
|
|
|
|
using DOAN.Model.MES.base_.Dto;
|
2024-09-04 10:01:39 +08:00
|
|
|
using SqlSugar;
|
|
|
|
|
using DOAN.Model.MES.group;
|
2024-07-16 14:40:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace DOAN.Service.MES.product.IService
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 生产工单service接口
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IProWorkorderService : IBaseService<ProWorkorder>
|
|
|
|
|
{
|
2024-09-14 09:41:11 +08:00
|
|
|
PagedInfo<ProWorkorderDto3> GetList(ProWorkorderQueryDto parm);
|
2024-11-12 14:11:12 +08:00
|
|
|
PagedInfo<ProWorkorderDto> GetList_NOCheck(ProWorkorderQueryDto parm);
|
|
|
|
|
|
2024-07-16 14:40:02 +08:00
|
|
|
|
2024-10-16 16:17:59 +08:00
|
|
|
PagedInfo<ProWorkorderTranceProgressDto> GetWorkorderTraceProgressList(ProWorkorderQueryDto query);
|
|
|
|
|
|
2024-07-16 14:40:02 +08:00
|
|
|
ProWorkorder GetInfo(string Id);
|
|
|
|
|
|
|
|
|
|
ProWorkorder AddProWorkorder(ProWorkorder parm);
|
|
|
|
|
|
|
|
|
|
int UpdateProWorkorder(ProWorkorder parm);
|
|
|
|
|
|
2024-07-16 16:34:43 +08:00
|
|
|
int Generate_workorder(ProWorkorderQueryDto2 parm);
|
|
|
|
|
|
2024-07-16 17:17:36 +08:00
|
|
|
int Insert_workOrder(ProWorkorder proWorkorder, string next_id);
|
|
|
|
|
|
2024-07-16 19:27:20 +08:00
|
|
|
int MoveWorkorder(string id, int type);
|
|
|
|
|
|
2024-07-17 11:42:05 +08:00
|
|
|
int ImportData(IFormFile formFile,string username);
|
2024-11-12 14:11:12 +08:00
|
|
|
|
|
|
|
|
|
2024-11-04 11:30:49 +08:00
|
|
|
int ImportDataAppend(IFormFile formFile,string username);
|
2024-07-17 11:42:05 +08:00
|
|
|
|
2024-07-17 14:28:32 +08:00
|
|
|
public PagedInfo<ProWorkorder> WorkOrderExport(DateTime exportTime, PagerInfo pager);
|
|
|
|
|
|
2024-08-30 17:09:55 +08:00
|
|
|
List<BaseMaterialList> GetMaterialInfo(BaseMaterialListQueryDto5 parm);
|
2024-08-30 17:05:08 +08:00
|
|
|
List<BaseCustom> GetCustomInfo(BaseCustomQueryDto2 parm);
|
2024-08-30 16:36:13 +08:00
|
|
|
|
2024-09-04 10:01:39 +08:00
|
|
|
// List<Group> GetGroupList(DateTime dateTime);
|
|
|
|
|
|
|
|
|
|
List<BaseWorkRoute> GetProcessRoute(DateTime dateTime);
|
|
|
|
|
|
2024-09-08 10:13:57 +08:00
|
|
|
List<BaseWorkRoute> GetAllRoute();
|
|
|
|
|
|
2024-09-04 10:01:39 +08:00
|
|
|
|
2024-09-07 11:00:04 +08:00
|
|
|
List<GroupSchedule> GetGroupList(string route_code, DateTime dateTime);
|
2024-09-04 10:01:39 +08:00
|
|
|
|
2024-09-14 08:45:11 +08:00
|
|
|
List<BaseGroup> GetGroupList();
|
|
|
|
|
|
2024-09-04 13:10:37 +08:00
|
|
|
List<WorkOrderBom> SearchBOMNum(string workorder_num);
|
|
|
|
|
|
2024-09-14 10:44:33 +08:00
|
|
|
int WorkOrderLog(string workorder, string log, string Operator);
|
2025-09-23 14:22:58 +08:00
|
|
|
|
|
|
|
|
public List<GanttChartDto> GetGanttChart(GanttChartQueryDto query);
|
2025-09-23 16:52:39 +08:00
|
|
|
|
|
|
|
|
public List<BaseGroup> GetOnlyGroupList();
|
2024-07-16 14:40:02 +08:00
|
|
|
}
|
|
|
|
|
}
|