shgx_tz_mom/ZR.Service/mes/pro/IService/IProWorkplanService.cs

44 lines
1.3 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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);
}
}