油漆
This commit is contained in:
31
server/ZR.Service/mes/pro/IService/IProWorkorderService.cs
Normal file
31
server/ZR.Service/mes/pro/IService/IProWorkorderService.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.VisualBasic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ZR.Model.mes.pro;
|
||||
using ZR.Model.MES.op.DTO;
|
||||
using ZR.Model.MES.pro.DTO;
|
||||
|
||||
namespace ZR.Service.mes.pro.IService
|
||||
{
|
||||
public interface IProWorkorderService
|
||||
{
|
||||
public (List<ProWorkorder>, int) GetWorkorderList(int pageNum, int pageSize, int year, int week,int date, int isSchedule);
|
||||
|
||||
public int SetWorkorderSechedule(string id, DateTime arrange_starttime, DateTime arrange_endtime);
|
||||
|
||||
public int ResetWorkorderSechedule(string id);
|
||||
|
||||
public int SortWorkorderSchedule(string id, int sort);
|
||||
|
||||
public int ReleaseProduction(string id, HttpContext httpContext);
|
||||
|
||||
|
||||
public GanttTaskDTO GetGanttList(int year,int week,int date);
|
||||
|
||||
}
|
||||
}
|
||||
51
server/ZR.Service/mes/pro/IService/IProWorkorderServiceV2.cs
Normal file
51
server/ZR.Service/mes/pro/IService/IProWorkorderServiceV2.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using Microsoft.AspNetCore.Mvc.ModelBinding;
|
||||
using Microsoft.VisualBasic;
|
||||
using Model.DBModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using ZR.Model.MES.op.DTO;
|
||||
using ZR.Model.MES.pro;
|
||||
using ZR.Model.MES.pro.DTO;
|
||||
|
||||
namespace ZR.Service.mes.pro.IService
|
||||
{
|
||||
public interface IProWorkorderServiceV2
|
||||
{
|
||||
|
||||
|
||||
public (List<ProWorkOrder>, int) GetWorkorderList(int pageNum, int pageSize, int year, int week, int date, int isSchedule);
|
||||
public (List<ProWorkorder_v2>, int) GetWorkorderList_Piliang(int pageNum, int pageSize, int year, int week, int date, int isSchedule);
|
||||
|
||||
|
||||
public string ImportExceldata(List<ProWorkorder_v2> proWorklplans);
|
||||
|
||||
public (string, string) ExportExceldata(int year, int week, int date);
|
||||
|
||||
|
||||
public int DeleteAllWorkorder(int year, int week, int date);
|
||||
|
||||
|
||||
public int AddWorkOrder(ProWorkorder_v2 workorder);
|
||||
|
||||
public int DeleteWorkOrder(string id);
|
||||
|
||||
public int UpdateWorkOrder(ProWorkorder_v2 workorder);
|
||||
|
||||
public int UpdateworkorderSort(string id ,int sort);
|
||||
public int UpdateworkorderSort2(string oldId,int oldSort, string newId,int newSort);
|
||||
|
||||
|
||||
public int StartWorkOrder(string id);
|
||||
public int CancelWorkOrder(string id);
|
||||
|
||||
public int GenerateWorkorder(int year, int week, int date);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
50
server/ZR.Service/mes/pro/IService/IProWorkplanService.cs
Normal file
50
server/ZR.Service/mes/pro/IService/IProWorkplanService.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ZR.Model.mes.pro;
|
||||
using ZR.Model.MES.op.DTO;
|
||||
|
||||
namespace ZR.Service.mes.pro.IService
|
||||
{
|
||||
public interface IProWorkplanService
|
||||
{
|
||||
|
||||
public (List<ProWorkplan>,int) GetAllData(int pageNum, int pageSize, int year, int week, string partNumber, string color);
|
||||
|
||||
/// <summary>
|
||||
/// 根据计划ID,获取对象
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
public List<ProWorkplan> GetProWorkplanById(string id);
|
||||
|
||||
public int AddWorkPlan(ProWorkplan proWorkplan);
|
||||
|
||||
public int UpdateWorkPlan(ProWorkplan proWorkplan);
|
||||
|
||||
public int DeleteWorkPlan(string id);
|
||||
|
||||
/// <summary>
|
||||
/// 根据生产计划ID,获取工单列表
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
public List<ProWorkorder> GetWorkorderListByPlanId(string id);
|
||||
|
||||
/// <summary>
|
||||
/// 根据工单ID,获取工单
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
public List<ProWorkorder> GetWorkorderListById(string id);
|
||||
|
||||
public int AddWorkorder(ProWorkorder proWorkorder);
|
||||
|
||||
public int UpdateWorkorder(ProWorkorder proWorkorder);
|
||||
|
||||
public int DeleteWorkorder(string id);
|
||||
}
|
||||
}
|
||||
68
server/ZR.Service/mes/pro/IService/IProWorkplanServiceV2.cs
Normal file
68
server/ZR.Service/mes/pro/IService/IProWorkplanServiceV2.cs
Normal file
@@ -0,0 +1,68 @@
|
||||
using Model.DBModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using ZR.Model.mes.pro;
|
||||
using ZR.Model.MES.op.DTO;
|
||||
using ZR.Model.MES.pro.DTO;
|
||||
using ZR.Model.mes.pro;
|
||||
|
||||
namespace ZR.Service.mes.pro.IService
|
||||
{
|
||||
public interface IProWorkplanServiceV2
|
||||
{
|
||||
|
||||
public (List<ProWorklplanDto>, int) GetAllData(int pageNum, int pageSize, int year, int week, string partNumber, string color);
|
||||
|
||||
/// <summary>
|
||||
/// 根据计划ID,获取对象
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
public List<ProWorklplan_v2> GetProWorkplanById(string id);
|
||||
|
||||
public int AddWorkPlan(ProWorklplan_v2 proWorkplan);
|
||||
|
||||
public int UpdateWorkPlan(ProWorklplan_v2 proWorkplan);
|
||||
|
||||
public int DeleteWorkPlan(string id);
|
||||
public int DeleteAllWorkPlan(int year,int week);
|
||||
|
||||
public string ImportExceldata(List<ProWorklplan_v2> proWorklplans);
|
||||
|
||||
public (string,string) ExportExceldata(int year, int week);
|
||||
|
||||
/// <summary>
|
||||
/// 生产计划字段数据检查
|
||||
/// </summary>
|
||||
/// <param name="proWorkplan">计划字段</param>
|
||||
/// <returns>0-正常 1-物料号不存在 2-物料号与描述不匹配</returns>
|
||||
public int CheckWorkPlan(ProWorklplan_v2 proWorkplan);
|
||||
|
||||
public WorkplanSummaryDto GetWeekSummary(int year ,int week);
|
||||
|
||||
/// <summary>
|
||||
/// 根据生产计划ID,获取工单列表
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
public List<ProWorkorder> GetWorkorderListByPlanId(string id);
|
||||
|
||||
/// <summary>
|
||||
/// 根据工单ID,获取工单
|
||||
/// </summary>
|
||||
/// <param name="id"></param>
|
||||
/// <returns></returns>
|
||||
public List<ProWorkorder> GetWorkorderListById(string id);
|
||||
|
||||
public int AddWorkorder(ProWorkorder proWorkorder);
|
||||
|
||||
public int UpdateWorkorder(ProWorkorder proWorkorder);
|
||||
|
||||
public int DeleteWorkorder(string id);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using ZR.Model;
|
||||
using System.Collections.Generic;
|
||||
using ZR.Model.mes.pro;
|
||||
using ZR.Model.MES.pro.DTO;
|
||||
|
||||
namespace ZR.Service.mes.pro.IService
|
||||
{
|
||||
/// <summary>
|
||||
/// 包装记录service接口
|
||||
/// </summary>
|
||||
public interface IWmPackingrecordService : IBaseService<WmPackingrecord>
|
||||
{
|
||||
PagedInfo<WmPackingrecordDto> GetList(WmPackingrecordQueryDto parm);
|
||||
|
||||
WmPackingrecord GetInfo(long Id);
|
||||
|
||||
WmPackingrecord AddWmPackingrecord(WmPackingrecord parm);
|
||||
|
||||
int UpdateWmPackingrecord(WmPackingrecord parm);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user