调试增加日志记录
This commit is contained in:
@@ -338,6 +338,7 @@ namespace Tnb.WarehouseMgr
|
|||||||
|
|
||||||
public override async Task ModifyAsync(WareHouseUpInput input)
|
public override async Task ModifyAsync(WareHouseUpInput input)
|
||||||
{
|
{
|
||||||
|
Logger.LogInformation($"【WmsPrdInstockHService ModifyAsync】开始执行产成品入库对接bip {JsonConvert.SerializeObject(input)}");
|
||||||
if (input == null)
|
if (input == null)
|
||||||
{
|
{
|
||||||
throw new ArgumentNullException(nameof(input));
|
throw new ArgumentNullException(nameof(input));
|
||||||
@@ -382,6 +383,7 @@ namespace Tnb.WarehouseMgr
|
|||||||
prdInstockH.code = instock.bill_code;
|
prdInstockH.code = instock.bill_code;
|
||||||
prdInstockH.is_sync_bip = 0;
|
prdInstockH.is_sync_bip = 0;
|
||||||
await _db.Updateable(prdInstockH).ExecuteCommandAsync();
|
await _db.Updateable(prdInstockH).ExecuteCommandAsync();
|
||||||
|
Logger.LogInformation($"【WmsPrdInstockHService ModifyAsync】更新生产入库记录,id:{prdInstockH.id}");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -399,6 +401,7 @@ namespace Tnb.WarehouseMgr
|
|||||||
prdInstockH.is_sync_bip = 0;
|
prdInstockH.is_sync_bip = 0;
|
||||||
|
|
||||||
await _db.Insertable(prdInstockH).ExecuteCommandAsync();
|
await _db.Insertable(prdInstockH).ExecuteCommandAsync();
|
||||||
|
Logger.LogInformation($"【WmsPrdInstockHService ModifyAsync】新增生产入库记录,id:{prdInstockH.id}");
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
Reference in New Issue
Block a user