44 lines
1.3 KiB
C#
44 lines
1.3 KiB
C#
using ZR.Model.mes.pro;
|
||
|
||
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);
|
||
|
||
/// <summary>
|
||
/// 根据计划ID,获取对象
|
||
/// </summary>
|
||
/// <param name="id"></param>
|
||
/// <returns></returns>
|
||
public List<ProWorkplan> GetProWorkplanById(string id);
|
||
|
||
public int AddWorkPlan(ProWorkplan proWorkplan);
|
||
|
||
public int UpdateWorkPlan(ProWorkplan proWorkplan);
|
||
|
||
public int DeleteWorkPlan(string id);
|
||
|
||
/// <summary>
|
||
/// 根据生产计划ID,获取工单列表
|
||
/// </summary>
|
||
/// <param name="id"></param>
|
||
/// <returns></returns>
|
||
public List<ProWorkorder> GetWorkorderListByPlanId(string id);
|
||
|
||
/// <summary>
|
||
/// 根据工单ID,获取工单
|
||
/// </summary>
|
||
/// <param name="id"></param>
|
||
/// <returns></returns>
|
||
public List<ProWorkorder> GetWorkorderListById(string id);
|
||
|
||
public int AddWorkorder(ProWorkorder proWorkorder);
|
||
|
||
public int UpdateWorkorder(ProWorkorder proWorkorder);
|
||
|
||
public int DeleteWorkorder(string id);
|
||
}
|
||
}
|