服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2024-12-06 9719a7f0ccbb70e4e51a93cbe1733d1424c16f6d
Tiger.Business.MES/BIZ/BizPrintInstoreDoc.cs
@@ -32,7 +32,7 @@
            var result = new ApiAction<List<BAS_LABEL_TEMP>>();
            try
            {
                List<BAS_LABEL_TEMP> labels = new List<BAS_LABEL_TEMP>();
                int i = 1;
                int j = 1;
                foreach (var p in input.printJsons)
@@ -75,7 +75,7 @@
                            }
                            if (item.VAR_NAME.StartsWith("SapCode"))
                            {
                                item.Value = v.ITEM_CODE;
                                item.Value = v.SapCode;
                            }
                            if (item.VAR_NAME.StartsWith("Seq"))
                            {
@@ -96,8 +96,10 @@
                            item.Value = DateTime.Now.ToString("yyyyy.MM.dd");
                        }
                    }
                    labels.Add(label);
                    j++;
                }
                }
                result.Data = labels;
            }
            catch (Exception ex)
            {