44 lines
1.3 KiB
C#
44 lines
1.3 KiB
C#
using Infrastructure.Model;
|
|
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 ApiResult getWorkoderStates(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 UpdateWorkOrderStatus(string id, int status);
|
|
|
|
|
|
public int StartWorkOrder(string id);
|
|
public int CancelWorkOrder(string id);
|
|
|
|
public int GenerateWorkorder(int year, int week, int date);
|
|
|
|
|
|
}
|
|
}
|