日志优化
This commit is contained in:
@@ -3,6 +3,7 @@ using JNPF.Common.Extension;
|
||||
using JNPF.FriendlyException;
|
||||
using Mapster;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Newtonsoft.Json;
|
||||
using Senparc.Weixin.MP.AdvancedAPIs.Semantic;
|
||||
using SqlSugar;
|
||||
using Tnb.BasicData.Entities;
|
||||
@@ -102,7 +103,7 @@ namespace Tnb.WarehouseMgr
|
||||
{
|
||||
throw new AppFriendlyException("载具条码数据异常,有料箱为空", 500);
|
||||
}
|
||||
|
||||
|
||||
int i = 0;
|
||||
foreach ((string mCarryId, object v) in mCarryIdDic)
|
||||
{
|
||||
@@ -121,6 +122,7 @@ namespace Tnb.WarehouseMgr
|
||||
{
|
||||
if (carryCodeQueryOutput.member_carrycode == null)
|
||||
{
|
||||
Logger.Information($"WmsCarryD数据:{JsonConvert.SerializeObject(mCarryIdDic)}||||||carryCodes数据:{JsonConvert.SerializeObject(carryCodes)}");
|
||||
throw new AppFriendlyException("载具与条码数量可能不匹配", 500);
|
||||
}
|
||||
carryCodeQueryOutput.member_carryid = mCarryIdDic2.GetOrDefault(carryCodeQueryOutput.member_carrycode).ToString();
|
||||
|
||||
Reference in New Issue
Block a user