From 547a82102720f191119c75d6c4820c66262eecb0 Mon Sep 17 00:00:00 2001 From: zxx <Zxx@HanInfo> Date: 星期五, 30 五月 2025 17:30:20 +0800 Subject: [PATCH] 入库逻辑添加 --- HH.WCS.Mobox3/HH.WCS.Mobox3.JuShi/wms/ContainerHelper.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HH.WCS.Mobox3/HH.WCS.Mobox3.JuShi/wms/ContainerHelper.cs b/HH.WCS.Mobox3/HH.WCS.Mobox3.JuShi/wms/ContainerHelper.cs index a04aa45..e7931e2 100644 --- a/HH.WCS.Mobox3/HH.WCS.Mobox3.JuShi/wms/ContainerHelper.cs +++ b/HH.WCS.Mobox3/HH.WCS.Mobox3.JuShi/wms/ContainerHelper.cs @@ -559,16 +559,16 @@ if (db.Queryable<LocCntrRel>().Count(a => a.S_CNTR_CODE.Trim() == cntrCode) == 0) { var cir = new LocCntrRel { S_LOC_CODE = loc, S_CNTR_CODE = cntrCode}; - var con = new Container { S_CODE = cntrCode,N_DETAIL_COUNT = 1,C_FULL="0" }; + var con = new Container { S_CODE = cntrCode,N_DETAIL_COUNT = 1,C_FULL="2" };//榛樿婊�涓诲姩缁戝畾鏈嶅姟鐢� db.Insertable<LocCntrRel>(cir).ExecuteCommand(); db.Insertable<Container>(con).ExecuteCommand(); if (!string.IsNullOrEmpty(itemCode)) { LogHelper.Info($"缁戝畾瀹瑰櫒鍙傛暟锛歿JsonConvert.SerializeObject(con)}"); ContainerHelper.BindCntrItem(cntrCode, itemCode, itemName); - //鏈夌墿鏂欑殑璇濆氨鏄弧鐨�- con.C_FULL = "2"; - db.Updateable(con).UpdateColumns(it => it.C_FULL).ExecuteCommand(); + ////鏈夌墿鏂欑殑璇濆氨鏄弧鐨�+ //con.C_FULL = "2"; + //db.Updateable(con).UpdateColumns(it => it.C_FULL).ExecuteCommand(); } } } -- Gitblit v1.9.1