From 3a3c5f5711a57439f34e772313fcbb18ba7885bc Mon Sep 17 00:00:00 2001 From: hudong <Administrator@PC-20250329JZUF> Date: 星期一, 14 七月 2025 10:31:15 +0800 Subject: [PATCH] 优化 --- wms/LocationHelper.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wms/LocationHelper.cs b/wms/LocationHelper.cs index bbe4a15..03c6796 100644 --- a/wms/LocationHelper.cs +++ b/wms/LocationHelper.cs @@ -374,13 +374,14 @@ { if (lcrList.Count(b => b.S_CNTR_CODE.Trim() == a) == 0) { + db.Insertable<LocCntrRel>(new LocCntrRel { S_LOC_CODE = loc, S_CNTR_CODE = a }).ExecuteCommand(); count++; } + + }); location.N_CURRENT_NUM = lcrList.Count + count; - - location.N_LOCK_STATE = 0; -- Gitblit v1.9.1