shanji 3 years ago
parent
commit
408ea1866f
  1. 4
      BBWY.Server.Business/EarlyWarning/JD/JDStockNumWarningBusiness.cs

4
BBWY.Server.Business/EarlyWarning/JD/JDStockNumWarningBusiness.cs

@ -140,7 +140,6 @@ namespace BBWY.Server.Business
if (skuStockNumCycleType == Enums.SkuStockNumCycleType.) if (skuStockNumCycleType == Enums.SkuStockNumCycleType.)
{ {
logContentBuilder.AppendLine();
nLogManager.GetLogger(loggerName).Info(logContentBuilder); nLogManager.GetLogger(loggerName).Info(logContentBuilder);
continue; continue;
} }
@ -160,7 +159,6 @@ namespace BBWY.Server.Business
if (response.Data == null || response.Data.Count() == 0) if (response.Data == null || response.Data.Count() == 0)
{ {
logContentBuilder.AppendLine("未查询到JD库存数据"); logContentBuilder.AppendLine("未查询到JD库存数据");
logContentBuilder.AppendLine();
nLogManager.GetLogger(loggerName).Info(logContentBuilder); nLogManager.GetLogger(loggerName).Info(logContentBuilder);
continue; continue;
} }
@ -249,8 +247,6 @@ namespace BBWY.Server.Business
logContentBuilder.AppendLine($"是否触发预警:{isWarning}"); logContentBuilder.AppendLine($"是否触发预警:{isWarning}");
#endregion #endregion
} }
logContentBuilder.AppendLine();
nLogManager.GetLogger(loggerName).Info(logContentBuilder); nLogManager.GetLogger(loggerName).Info(logContentBuilder);
} }

Loading…
Cancel
Save