From 52adedb218549cde2bdc60c3b338e360e72d94a6 Mon Sep 17 00:00:00 2001 From: 杨张扬 <634643841@qq.com> Date: 星期四, 12 六月 2025 17:44:03 +0800 Subject: [PATCH] 双钱-修改库存记录BUG --- core/Monitor.cs | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/core/Monitor.cs b/core/Monitor.cs index 6a604c2..29452fc 100644 --- a/core/Monitor.cs +++ b/core/Monitor.cs @@ -534,6 +534,7 @@ db.Updateable<TN_InventoryM>(targetInM).UpdateColumns(it => new { it.ITEMSTATE }).ExecuteCommand(); } + targetInM = db.Queryable<TN_InventoryM>().LeftJoin<TN_CG_Detail>((o, i) => o.S_ID == i.S_ID). Where((o, i) => System.DateTime.Now >= o.EXPIRATION && i.S_ITEM_STATE == "寰呮" && i.N_ITEM_STATE == 1).First(); -- Gitblit v1.9.1