diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsPDAFeedingService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsPDAFeedingService.cs index f6e22dd9..e424978f 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsPDAFeedingService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsPDAFeedingService.cs @@ -86,10 +86,17 @@ namespace Tnb.WarehouseMgr feedBox.material_code = carryMaterial.material_code; feedBox.qty = carryMaterial.qty; feedBox.batch = carryMaterial?.code_batch!; - feedBox.status = carry.status; feedBox.modify_id = _userManager.UserId; feedBox.modify_time = DateTime.Now; - var row = await _db.Updateable(feedBox).ExecuteCommandAsync(); + var row = await _db.Updateable(feedBox) + .UpdateColumns(it => new { + it.material_id, + it.material_code, + it.qty, + it.batch, + it.modify_id, + it.modify_time + }).ExecuteCommandAsync(); //更新投料记录条码表 if (carryCodes != null) {