|
|
@@ -419,13 +419,6 @@ namespace Business.ResourceExamineManagement
|
|
|
// await _mes_moentry.InsertMany(mes_moentry);
|
|
|
//}
|
|
|
|
|
|
- //物料BOM
|
|
|
- var icBom = _mysql_ic_bom.GetListAsync(x => x.factory_id == factoryId).Result;
|
|
|
- if (icBom.Count > 0)
|
|
|
- {
|
|
|
- icBom.ForEach(item => { item.bang_id = bangid; });
|
|
|
- await _ic_bom.InsertMany(icBom);
|
|
|
- }
|
|
|
//在制工单占用记录表
|
|
|
var mes_mooccupy = _mysql_mes_mooccupy.GetListAsync(x => x.factory_id == factoryId).Result;
|
|
|
if (mes_mooccupy.Count > 0)
|