diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsPDAFeedingService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsPDAFeedingService.cs index bfb641be..f6e22dd9 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsPDAFeedingService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsPDAFeedingService.cs @@ -87,8 +87,8 @@ namespace Tnb.WarehouseMgr feedBox.qty = carryMaterial.qty; feedBox.batch = carryMaterial?.code_batch!; feedBox.status = carry.status; - feedBox.create_id = _userManager.UserId; - feedBox.create_time = DateTime.Now; + feedBox.modify_id = _userManager.UserId; + feedBox.modify_time = DateTime.Now; var row = await _db.Updateable(feedBox).ExecuteCommandAsync(); //更新投料记录条码表 if (carryCodes != null) @@ -120,11 +120,11 @@ namespace Tnb.WarehouseMgr { if (carry == null) { - throw new AppFriendlyException("没有可用的旧载具", 500); + throw new AppFriendlyException("没有可用的载具", 500); } if (feedBox == null) { - throw new AppFriendlyException("没有可用的新载具", 500); + throw new AppFriendlyException("没有可用的投料箱", 500); } }