feat: 完善材料条码与焊接业务功能
This commit is contained in:
@@ -48,6 +48,8 @@ namespace BLL
|
||||
PipelineComponentCode = y.PipelineComponentCode,
|
||||
MaterialName = mat.MaterialName,
|
||||
MaterialDef = mat.MaterialDef,
|
||||
MaterialUnit = mat.MaterialUnit,
|
||||
BarCodeCount = Funs.DB.Tw_InputDetailBarCode.Count(barCode => barCode.InputDetailId == x.Id),
|
||||
SortIndex = x.SortIndex
|
||||
}
|
||||
;
|
||||
@@ -74,6 +76,16 @@ namespace BLL
|
||||
return from x in q
|
||||
select x;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取按米计量的管材入库明细。
|
||||
/// </summary>
|
||||
public static List<Model.Tw_InOutDetailOutput> GetPipeListData(Model.Tw_InOutDetailOutput table)
|
||||
{
|
||||
return GetByModle(table)
|
||||
.Where(x => x.MaterialUnit != null && x.MaterialUnit.Trim() == "米")
|
||||
.ToList();
|
||||
}
|
||||
#endregion
|
||||
|
||||
public static Model.Tw_InputDetail GetById(string Id)
|
||||
|
||||
Reference in New Issue
Block a user