库存报表,日志完善
This commit is contained in:
@@ -17,6 +17,11 @@ using Tnb.WarehouseMgr.Entities.Dto.Inputs;
|
||||
using Tnb.WarehouseMgr.Interfaces;
|
||||
using Tnb.QcMgr.Interfaces;
|
||||
using Tnb.WarehouseMgr.Entities.Consts;
|
||||
using JNPF.Common.Enums;
|
||||
using JNPF.FriendlyException;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Tnb.ProductionMgr.Entities;
|
||||
using Tnb.WarehouseMgr.Entities.Entity;
|
||||
|
||||
namespace Tnb.WarehouseMgr
|
||||
{
|
||||
@@ -99,5 +104,27 @@ namespace Tnb.WarehouseMgr
|
||||
return await UpdateChackStatus<WmsOutstockH>(input);
|
||||
}
|
||||
|
||||
public override async Task ModifyAsync(WareHouseUpInput input)
|
||||
{
|
||||
//if (input == null)
|
||||
//{
|
||||
// throw new ArgumentNullException(nameof(input));
|
||||
//}
|
||||
|
||||
//try
|
||||
//{
|
||||
// WmsCarryH wmsCarryH = await _db.Queryable<WmsCarryH>().Where(r => r.id == input.carryIds[0]).FirstAsync();
|
||||
|
||||
|
||||
// await _db.Ado.CommitTranAsync();
|
||||
//}
|
||||
//catch (Exception ex)
|
||||
//{
|
||||
// Logger.LogError("【WmsSaleService ModifyAsync】" + ex.Message);
|
||||
// Logger.LogError("【WmsSaleService ModifyAsync】" + ex.StackTrace);
|
||||
// await _db.Ado.RollbackTranAsync();
|
||||
//}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user