Browse Source

检查断号格式修改

master
lvzb 1 year ago
parent
commit
ffbe646f15
  1. 7
      src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Application/PrintTable/WaitPrintAppService.cs
  2. 8
      src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/MsgCheck/Services/BillNumberRecordDomainService.cs

7
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("<br>", breakNumLst);
// string breakNumStr = string.Concat(breakNumLst);
retLst.Add($"存在断号:{breakNumStr}");
return new ListResultDto<string>(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("<br>", lst);
//string str = string.Concat(lst);
retLst.Add($"存在未知总成:{str}");
return new ListResultDto<string>(retLst);
}

8
src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/MsgCheck/Services/BillNumberRecordDomainService.cs

@ -20,21 +20,23 @@ namespace WY.NewJit.MsgCheck
{
private readonly IRepository<BillNumberRecord, Guid> _billNumberRepository;
private readonly IRepository<WaitPrint, Guid> _waitPrintRepository;
private ILogger<M100CheckDomainService> _logger;
private ILogger<M100CheckDomainService> _logger;//日志
private readonly LogRemindDomainService _logRemindDomainService;
private readonly Microsoft.Extensions.Configuration.IConfiguration _configuration;//配置
public static List<BillNumberRecord> _billNumberRecordCaches= new List<BillNumberRecord>() ;//记录内存
public BillNumberRecordDomainService(
IRepository<BillNumberRecord, Guid> billNumberRepository,
ILogger<M100CheckDomainService> logger,
LogRemindDomainService logRemindDomainService,
IRepository<WaitPrint, Guid> waitPrintRepository)
IRepository<WaitPrint, Guid> waitPrintRepository,
Microsoft.Extensions.Configuration.IConfiguration configuration)
{
_billNumberRepository = billNumberRepository;
_logger = logger;
_logRemindDomainService = logRemindDomainService;
_waitPrintRepository = waitPrintRepository;
_configuration = configuration;
}
/// <summary>
/// 获取和更新记录和内存

Loading…
Cancel
Save