52 lines
1.4 KiB
C#
52 lines
1.4 KiB
C#
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);
|
|
|
|
|
|
}
|
|
}
|