bug处理,二楼空载具料架入库
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user