20251023 排产计划
This commit is contained in:
@@ -19,15 +19,41 @@ namespace BLL
|
||||
return Funs.DB.HJGL_ProductionSchedulingPlan.FirstOrDefault(e => e.ProductionSchedulingPlanId == productionSchedulingPlanId);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据单位工程、流水段、材质、口径获取排产计划
|
||||
/// </summary>
|
||||
/// <param name="loginProjectId"></param>
|
||||
/// <param name="flowingSection"></param>
|
||||
/// <param name="unitWorkId"></param>
|
||||
/// <param name="material"></param>
|
||||
/// <param name="caliber"></param>
|
||||
/// <returns></returns>
|
||||
public static Model.HJGL_ProductionSchedulingPlan GetProductionSchedulingPlan(string loginProjectId, string flowingSection, string unitWorkId, string material, string caliber)
|
||||
{
|
||||
return Funs.DB.HJGL_ProductionSchedulingPlan.FirstOrDefault(e => e.ProjectId == loginProjectId && e.FlowNum == flowingSection && e.PipelineId == unitWorkId && e.Material == material && e.Caliber == caliber);
|
||||
}
|
||||
|
||||
public static List<Model.HJGL_ProductionSchedulingPlan> GetProductionSchedulingPlanByMaterialLists(string loginProjectId, string flowingSection, string unitWorkId, string material)
|
||||
/// <summary>
|
||||
/// 根据单位工程、流水段获取排产计划信息
|
||||
/// </summary>
|
||||
/// <param name="loginProjectId"></param>
|
||||
/// <param name="flowingSection"></param>
|
||||
/// <param name="unitWorkId"></param>
|
||||
/// <returns></returns>
|
||||
public static List<Model.HJGL_ProductionSchedulingPlan> GetProductionSchedulingPlanByFlowingSection(string loginProjectId, string flowingSection, string unitWorkId)
|
||||
{
|
||||
return (from x in Funs.DB.HJGL_ProductionSchedulingPlan where x.ProjectId == loginProjectId && x.FlowNum == flowingSection && x.PipelineId == unitWorkId && x.Material == material select x).ToList();
|
||||
return (from x in Funs.DB.HJGL_ProductionSchedulingPlan where x.ProjectId == loginProjectId && x.FlowNum == flowingSection && x.PipelineId == unitWorkId select x).ToList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据单位工程获取排产计划信息
|
||||
/// </summary>
|
||||
/// <param name="loginProjectId"></param>
|
||||
/// <param name="unitWorkId"></param>
|
||||
/// <returns></returns>
|
||||
public static List<Model.HJGL_ProductionSchedulingPlan> GetProductionSchedulingPlanByUnitWorkId(string loginProjectId, string unitWorkId)
|
||||
{
|
||||
return (from x in Funs.DB.HJGL_ProductionSchedulingPlan where x.ProjectId == loginProjectId && x.PipelineId == unitWorkId select x).ToList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user