bom中数量变成分子分母2个字段
This commit is contained in:
@@ -944,6 +944,8 @@ namespace Tnb.ProductionMgr
|
||||
process_id = b.process_id,
|
||||
material_id = SqlFunc.Subqueryable<BasMaterial>().Where(it => it.id == e.material_id).Select(it => it.id),
|
||||
num = e.num,
|
||||
molecule = e.molecule,
|
||||
denominator = e.denominator,
|
||||
ordinal = d.ordinal,
|
||||
mbom_process_id = b.id,
|
||||
})
|
||||
@@ -2715,7 +2717,9 @@ namespace Tnb.ProductionMgr
|
||||
material_id = x.material_id,
|
||||
material_code = y.code,
|
||||
category_id = y.category_id,
|
||||
num = x.num
|
||||
num = x.num,
|
||||
molecule = x.molecule,
|
||||
denominator = x.denominator,
|
||||
})
|
||||
|
||||
}).ToListAsync();
|
||||
|
||||
Reference in New Issue
Block a user