模板导出成功
This commit is contained in:
31
ZR.Service/mes/pro/IService/IProWorkorderServiceV2.cs
Normal file
31
ZR.Service/mes/pro/IService/IProWorkorderServiceV2.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using Microsoft.AspNetCore.Http;
|
||||
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.pro;
|
||||
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_v2>, int) GetWorkorderList(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);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -2,11 +2,13 @@
|
||||
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;
|
||||
|
||||
namespace ZR.Service.mes.pro.IService
|
||||
{
|
||||
@@ -27,6 +29,14 @@ namespace ZR.Service.mes.pro.IService
|
||||
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);
|
||||
|
||||
|
||||
public WorkplanSummaryDto GetWeekSummary(int year ,int week);
|
||||
|
||||
/// <summary>
|
||||
/// 根据生产计划ID,获取工单列表
|
||||
|
||||
Reference in New Issue
Block a user