diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/PrintTable/WaitPrintAppService.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/PrintTable/WaitPrintAppService.cs index 5455b89..b97e522 100644 --- a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/PrintTable/WaitPrintAppService.cs +++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/PrintTable/WaitPrintAppService.cs @@ -855,7 +855,9 @@ namespace WY.NewJit.PrintTable if (isBreakNum) { var breakNumLst = billLst.Where(itm => itm.BillStatus == BillStatusEnum.BreakNum).OrderBy(itm => itm.HostSN2).Select(itm => itm.HostSN2.ToString() + ",").ToList(); - string breakNumStr = string.Concat(breakNumLst); + + string breakNumStr = string.Join("
", breakNumLst); + // string breakNumStr = string.Concat(breakNumLst); retLst.Add($"存在断号:{breakNumStr}"); return new ListResultDto(retLst); } @@ -864,7 +866,8 @@ namespace WY.NewJit.PrintTable if (containNotMatch) { var lst = billLst.Where(itm => itm.BillStatus == BillStatusEnum.NotMatch).OrderBy(itm => itm.HostSN2).Select(itm => itm.HostSN2.ToString() + ",").ToList(); - string str = string.Concat(lst); + string str = string.Join("
", lst); + //string str = string.Concat(lst); retLst.Add($"存在未知总成:{str}"); return new ListResultDto(retLst); } diff --git a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/MsgCheck/Services/BillNumberRecordDomainService.cs b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/MsgCheck/Services/BillNumberRecordDomainService.cs index 42448cc..6584381 100644 --- a/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/MsgCheck/Services/BillNumberRecordDomainService.cs +++ b/src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/MsgCheck/Services/BillNumberRecordDomainService.cs @@ -20,21 +20,23 @@ namespace WY.NewJit.MsgCheck { private readonly IRepository _billNumberRepository; private readonly IRepository _waitPrintRepository; - private ILogger _logger; + private ILogger _logger;//日志 private readonly LogRemindDomainService _logRemindDomainService; + private readonly Microsoft.Extensions.Configuration.IConfiguration _configuration;//配置 public static List _billNumberRecordCaches= new List() ;//记录内存 public BillNumberRecordDomainService( IRepository billNumberRepository, ILogger logger, LogRemindDomainService logRemindDomainService, - IRepository waitPrintRepository) + IRepository waitPrintRepository, + Microsoft.Extensions.Configuration.IConfiguration configuration) { _billNumberRepository = billNumberRepository; _logger = logger; _logRemindDomainService = logRemindDomainService; _waitPrintRepository = waitPrintRepository; - + _configuration = configuration; } /// /// 获取和更新记录和内存