zhengly 3 лет назад
Родитель
Сommit
61fd4f51f4

+ 0 - 22
MicroServices/Business/Business.Application/ResourceExamineManagement/ResourceExamineAppService.cs

@@ -475,28 +475,6 @@ namespace Business.ResourceExamineManagement
                 //插入数据
                 await _ic_item_stock.InsertMany(icitemStokc);
             }
-            ////在制工单占用记录表
-            //var mes_mooccupy = _mysql_mes_mooccupy.GetListAsync(x => x.tenant_id == tenantId && x.factory_id == factoryId).Result;
-            //if (mes_mooccupy.Count > 0)
-            //{
-            //    mes_mooccupy.ForEach(item => { item.bang_id = bangid; });
-            //    await _mes_mooccupy.InsertMany(mes_mooccupy);
-            //}
-            ////工单主表
-            //var mes_morder = _mysql_mes_morder.GetListAsync(x => x.tenant_id == tenantId && x.factory_id == factoryId).Result;
-            //if (mes_morder.Count > 0)
-            //{
-            //    mes_morder.ForEach(item => { item.bang_id = bangid; });
-            //    await _mes_morder.InsertMany(mes_morder);
-            //}
-            ////工单子表
-            //var mes_moentry = _mysql_mes_moentry.GetListAsync(x => x.tenant_id == tenantId && x.factory_id == factoryId).Result;
-            //if (mes_moentry.Count > 0)
-            //{
-            //    mes_moentry.ForEach(item => { item.bang_id = bangid; });
-            //    await _mes_moentry.InsertMany(mes_moentry);
-            //}
-
             //在制工单占用记录表
             var mes_mooccupy = _mysql_mes_mooccupy.GetListAsync(x => x.factory_id == factoryId).Result;
             if (mes_mooccupy.Count > 0)