1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user