杨张扬
2 天以前 77b654d928c34d32462e212a4ec212f7cc48b50f
wms/SpecHelper.cs
@@ -409,13 +409,8 @@
                if (model != null)
                {
                    var target = db.Queryable<TN_InventoryM>().First(o => o.RFID == model.RFID);
                    if (target != null)
                    {
                        db.Deleteable<TN_InventoryM>(target).ExecuteCommand();
                    }
                    model.EXPIRATION = System.DateTime.Now.AddHours(GetExportTime(model.SPEC));
                    if (db.Insertable<TN_InventoryM>(model).ExecuteCommand() > 0)
                    if (db.Storageable<TN_InventoryM>(model).ExecuteCommand() > 0)
                    {
                        LogHelper.Info($"插入WMS库存明细成功,{log}");
                    }