bug处理,二楼空载具料架入库

This commit is contained in:
2024-06-06 16:42:31 +08:00
parent 9e177b69f7
commit 439e000bd1
57 changed files with 457 additions and 1196 deletions

View File

@@ -11,6 +11,7 @@ using JNPF.VisualDev.Entitys;
using JNPF.VisualDev.Interfaces;
using Mapster;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Senparc.Weixin.MP.AdvancedAPIs.Card;
using SqlSugar;
@@ -166,8 +167,10 @@ namespace Tnb.WarehouseMgr
if (WmsCarryCodes.Count > 0)
await _db.Insertable(WmsCarryCodes).ExecuteCommandAsync();
}
catch (Exception)
catch (Exception ex)
{
Logger.LogError(ex.Message);
Logger.LogError(ex.StackTrace);
throw new AppFriendlyException("绑定失败", 500);
}
}