Tiger.Business.MES/Transaction/PackingNode.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Tiger.Business.MES/Transaction/TestNode.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Tiger.Business.MES/Transaction/YadaPacking.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Tiger.Business.MES/iERP/U9C_MES.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Tiger.Business.MES/Transaction/PackingNode.cs
@@ -264,6 +264,8 @@ { action.Data.ShortMsg = new("工序异常", ShortMessage.Types.Error); action.Data.OperInfo = CurOperInfo(input.Locale); RemoveCurSnFromCurPackage(Context.ContainsKey("CurPackage") ? (Context["CurPackage"] as WipPkg).Item : null); ResetNode(); //action.CatchExceptionWithLog(ex, $"包装工序:提交操作数据异常"); action.CatchExceptionWithLog(ex, Biz.L("MES.Transaction.PackingNode.SubmitException")); } Tiger.Business.MES/Transaction/TestNode.cs
@@ -216,6 +216,7 @@ { action.Data.ShortMsg = new("工序异常", ShortMessage.Types.Error); action.Data.OperInfo = CurOperInfo(input.Locale); ResetNode(); //action.CatchExceptionWithLog(ex, $"测试工序:提交操作数据异常"); action.CatchExceptionWithLog(ex, Biz.L("MES.Transaction.TestNode.SubmitException")); } Tiger.Business.MES/Transaction/YadaPacking.cs
@@ -298,8 +298,11 @@ { action.Data.ShortMsg = new("工序异常", ShortMessage.Types.Error); action.Data.OperInfo = CurOperInfo(input.Locale); RemoveCurSnFromCurPackage(Context.ContainsKey("CurPackage") ? (Context["CurPackage"] as WipPkg).Item : null); ResetNode(); //action.CatchExceptionWithLog(ex, $"包装工序:提交操作数据异常"); action.CatchExceptionWithLog(ex, Biz.L("MES.Transaction.PackingNode.SubmitException")); } debug.Log(new StackFrame(true), "***** 9", info => { ConsoleExt.WriteLine(info.ToString()); }); return SetOutPutMqttMsg(action, input.Locale); @@ -774,7 +777,7 @@ } }; } //throw new Exception("哈"); //保存数据库 SaveStepsCommitActionToDB(endAction); Tiger.Business.MES/iERP/U9C_MES.cs
@@ -493,8 +493,8 @@ } Logger.Scheduler.Info($"客户条码信息存入实体中,总数:[{items.Count}]"); db = Biz.Db; var dbTran = db.UseTran(() => { //var dbTran = db.UseTran(() => //{ if (items.Any()) { if (items.Count > 100) @@ -518,12 +518,12 @@ } } }); if (!dbTran.IsSuccess) { action.CatchExceptionWithLog(dbTran.ErrorException, $"数据处理失败"); Logger.Scheduler.Error(action.Message); } //}); //if (!dbTran.IsSuccess) //{ // action.CatchExceptionWithLog(dbTran.ErrorException, $"数据处理失败"); // Logger.Scheduler.Error(action.Message); //} Logger.Scheduler.Info($"客户条码信息存入数据库,总数:[{items.Count}]"); action.Message = $"客户条码信息存入数据库,总数:[{items.Count}]"; return action; @@ -583,8 +583,8 @@ } Logger.Scheduler.Info($"工单信息存入实体中,总数:[{items.Count}]"); db = Biz.Db; var dbTran = db.UseTran(() => { //var dbTran = db.UseTran(() => //{ if (items.Any()) { if (items.Count > 100) @@ -608,12 +608,12 @@ } } }); if (!dbTran.IsSuccess) { action.CatchExceptionWithLog(dbTran.ErrorException, $"数据处理失败"); Logger.Scheduler.Error(action.Message); } //}); //if (!dbTran.IsSuccess) //{ // action.CatchExceptionWithLog(dbTran.ErrorException, $"数据处理失败"); // Logger.Scheduler.Error(action.Message); //} action.Message = $"工单信息存入数据库,总数:[{items.Count}]"; Logger.Scheduler.Info($"{action.Message}"); if (action.IsSuccessed && items.Count > 0)