From 507bf4487675c6ec36f1772a5a437e9dd4ea9e02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AD=A3=E6=98=93?= Date: Mon, 22 Apr 2024 12:25:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=93=E5=BA=93-=E6=8B=BC=E7=AE=B1=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZR.Service/mes/wms/WmGoodsActionService.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/ZR.Service/mes/wms/WmGoodsActionService.cs b/ZR.Service/mes/wms/WmGoodsActionService.cs index 8d60fdbf..3cca748f 100644 --- a/ZR.Service/mes/wms/WmGoodsActionService.cs +++ b/ZR.Service/mes/wms/WmGoodsActionService.cs @@ -169,8 +169,6 @@ namespace ZR.Service.Business nowProduction.Remark = "拼箱整箱"; // 修改主箱 Context.Updateable(nowProduction).IgnoreColumns(ignoreAllNullColumns: true).ExecuteCommand(); - // 添加记录 要有newPatchCode - AddPackingrecord(nowProduction,mainPackage.WorkoderID, true); // 次箱操作 if (isDelete) { @@ -311,8 +309,6 @@ namespace ZR.Service.Business newPackage1.Remark = "拆箱"; // 修改主箱 Context.Updateable(newPackage1).IgnoreColumns(ignoreAllNullColumns: true).ExecuteCommand(); - // 添加记录 要有newPatchCode - AddPackingrecord(newPackage1, mainPackage.WorkoderID, false); // 2.添加一个分箱 WmGoodsNowProduction newPackage2 = mainNowProduction; newPackage2.CreatedBy = parm.CreateBy; @@ -328,12 +324,9 @@ namespace ZR.Service.Business newPackage2.Id = SnowFlakeSingle.Instance.NextId().ToString(); // 添加分箱 Context.Insertable(newPackage2).ExecuteCommand(); - // 添加记录 要有newPatchCode - AddPackingrecord(newPackage2, mainPackage.WorkoderID, false); - // TODO修改打印记录 return log; } - // 添加包装箱标签记录 + // 添加包装箱标签记录(暂不使用) public void AddPackingrecord(WmGoodsNowProduction production,string workOrderId, bool isFill = false) { try