20250723 修改工厂预制管理
This commit is contained in:
@@ -134,7 +134,7 @@ namespace BLL
|
||||
var result = new List<Model.PipelinePrefabricatedComponentsItem>();
|
||||
if (pack.TypeInt == (int)HJGL_PackagingmanageService.TypeInt.预制散件)
|
||||
{
|
||||
var q = from detail in Funs.DB.HJGL_PackagingManageDetail
|
||||
var q = from detail in Funs.DB.HJGL_PackagingManageDetail
|
||||
join lib in Funs.DB.HJGL_MaterialCodeLib on detail.MaterialCode equals lib.MaterialCode into libJoin
|
||||
from libItem in libJoin.DefaultIfEmpty()
|
||||
join line in Funs.DB.HJGL_Pipeline on detail.PipelineId equals line.PipelineId into lineJoin
|
||||
@@ -152,7 +152,8 @@ namespace BLL
|
||||
Number = detail.Number,
|
||||
PipelineId = lineItem.PipelineId,
|
||||
PipelineCode = lineItem.PipelineCode,
|
||||
UnitWorkId=lineItem.UnitWorkId,
|
||||
UnitWorkId = lineItem.UnitWorkId,
|
||||
FlowingSection = lineItem.FlowingSection,
|
||||
|
||||
};
|
||||
result= q.ToList();
|
||||
@@ -177,6 +178,7 @@ namespace BLL
|
||||
Number = detail.Number,
|
||||
PipelineId = lineItem.PipelineId,
|
||||
PipelineCode = lineItem.PipelineCode,
|
||||
FlowingSection = lineItem.FlowingSection,
|
||||
|
||||
};
|
||||
result = q.ToList();
|
||||
|
||||
Reference in New Issue
Block a user