服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2025-02-25 3767c658e315be5279bea5c1d42b7881c1f45d97
Tiger.Business.WMS/Transaction/PrintSemiProdLabel.cs
@@ -58,7 +58,7 @@
                    return SetOutPutMqttMsg(action, input.Locale);
                }
                var DocLines = Biz.DataSource["YadaU9C"].Client.Ado.SqlQuery<mes_RcvRptDocLine>($"select * from mes_RcvRptDocLine where DocNo = '{input.SN}'");
                var temps = new List<TemplateInput>();
                foreach (var item in DocLines)
                {
@@ -69,7 +69,7 @@
                        itemDesc= item.ItemDescription,
                        sapItemCode= "",
                        WoBatch = item.LotCode,
                        batchQty= item.PackQty,
                        batchQty= item.PackQty.ToDecimal(),
                        qrCode="",
                    };
                    temps.Add(temp);
@@ -87,7 +87,7 @@
            catch (Exception ex)
            {
                //action.CatchExceptionWithLog(ex, $"扫描[{input.SN}]异常");
                action.CatchExceptionWithLog(ex, Biz.L("WMS.RePrint.Scan.ScanException", input.SN));
                action.CatchExceptionWithLog(ex, Biz.L("WMS.PrintSemiProdLabel.Scan.ScanException", input.SN));
            }
            return SetOutPutMqttMsg(action, input.Locale);
        }