using HighWayIot.Repository.domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HighWayIot.Repository.service
{
public interface IExecutePlanInfoService
{
///
/// 通过产线工位获取执行计划
///
///
///
List GetExecutePlanInfosByProductLineCode(string productLineCode);
///
/// 通过生产计划编号获取执行计划
///
///
///
List GetExecutePlanInfosByProductPlanCode(string productPlanCode);
///
/// 通过执行计划编号获取执行计划
///
///
///
ExecutePlanInfo GetExecutePlanInfoByPlanCode(string executePlanCode);
///
/// 通过产线工位获取执行顺序(默认+1)
///
///
///
int GetExecuteOrderByProductLineCode(string productLineCode);
///
/// 新增执行计划
///
///
///
bool InsertExecutePlanInfo(ExecutePlanInfo executePlanInfo);
///
/// 修改执行计划
///
///
///
bool UpdateExecutePlanInfo(ExecutePlanInfo executePlanInfo);
///
/// 批量修改执行计划
///
///
///
bool UpdateRangeExecutePlanInfo(List executePlanInfos);
///
/// 根据执行计划编号删除执行计划
///
///
///
bool DeleteExecutePlanInfoByPlanCode(string executePlanCode);
}
}