材料管理修改
This commit is contained in:
@@ -80,7 +80,14 @@ namespace BLL
|
||||
return Funs.DB.Tw_InOutPlanDetail_Relation.FirstOrDefault(x => x.Id == Id);
|
||||
}
|
||||
|
||||
|
||||
public static Model.Tw_InOutPlanDetail_Relation GetByPipelineId(string pipelineId,string WarehouseCode)
|
||||
{
|
||||
var q= from x in Funs.DB.Tw_InOutPlanDetail_Relation
|
||||
join y in Funs.DB .Tw_InOutPlanMaster on x.InOutPlanMasterId equals y.Id
|
||||
where x.PipelineId == pipelineId && y.WarehouseCode == WarehouseCode
|
||||
select x;
|
||||
return q.FirstOrDefault();
|
||||
}
|
||||
public static void Add(Model.Tw_InOutPlanDetail_Relation newtable)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user