2024-06-07 11:04:26 +08:00
|
|
|
|
using ZR.Model.mes.pro;
|
2023-11-14 14:30:14 +08:00
|
|
|
|
|
|
|
|
|
|
namespace ZR.Service.mes.pro.IService
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface IProWorkplanService
|
|
|
|
|
|
{
|
|
|
|
|
|
|
2024-06-07 11:04:26 +08:00
|
|
|
|
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>
|
2023-11-16 09:41:52 +08:00
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
}
|