服务端的TigerApi 框架,基于.NET6 2024 版本
YangYuGang
2 天以前 e26f91635aa0343f6f5c201c95d20141dc465ed3
Tiger.Business.WMS/T100ToWMS/ProductInputBusiness.cs
@@ -109,12 +109,12 @@
                    snLst.Add(new BIZ_WMS_TRANSFER_SN()
                    {
                        AUTH_ORG = warehouse.OrgCode,
                        BILLCODE = input.BillCode,
                        ORDER_NO = input.BillCode,
                        SN = item.SN,
                        STATUS = WMS_ITEM.STATUSs.WaitIn.GetValue(),
                        ITEM_CODE = snData.Where(i => i.SN == item.SN).FirstOrDefault()?.ITEM_CODE,
                        QTY = item.Qty,
                        BILLLINE = dicitemcode[item.ItemCode]
                        ORDER_LINE = dicitemcode[item.ItemCode]
                    });
                }
            }
@@ -209,7 +209,7 @@
            if (snLst.Any())
            {
                var history = db.Queryable<BIZ_WMS_TRANSFER_SN>().Where(i => i.BILLCODE == input.BillCode).ToList();
                var history = db.Queryable<BIZ_WMS_TRANSFER_SN>().Where(i => i.ORDER_NO == input.BillCode).ToList();
                if (history.Any())
                {
                    db.Deleteable(history).ExecuteCommand();