Files
shanghaigangxiangtuzhuangMES/ZR.Service/mes/pro/IService/IProWorkplanService.cs

51 lines
1.4 KiB
C#
Raw Normal View History

2023-11-14 14:30:14 +08:00
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);
2023-11-14 16:43:35 +08:00
2023-11-16 09:28:10 +08:00
/// <summary>
/// 根据计划ID获取对象
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
2023-11-15 15:36:18 +08:00
public List<ProWorkplan> GetProWorkplanById(string id);
2023-11-14 16:43:35 +08:00
public int AddWorkPlan(ProWorkplan proWorkplan);
2023-11-14 18:46:59 +08:00
public int UpdateWorkPlan(ProWorkplan proWorkplan);
public int DeleteWorkPlan(string id);
2023-11-15 14:38:10 +08:00
2023-11-16 09:28:10 +08:00
/// <summary>
/// 根据生产计划ID获取工单列表
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
public List<ProWorkorder> GetWorkorderListByPlanId(string id);
2023-11-15 14:53:20 +08:00
2023-11-16 09:35:16 +08:00
/// <summary>
/// 根据工单ID获取工单
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
public List<ProWorkorder> GetWorkorderListById(string id);
2023-11-15 14:53:20 +08:00
public int AddWorkorder(ProWorkorder proWorkorder);
public int UpdateWorkorder(ProWorkorder proWorkorder);
public int DeleteWorkorder(string id);
2023-11-14 14:30:14 +08:00
}
}