|
|
@ -122,13 +122,20 @@ namespace WY.NewJit.MsgCheck |
|
|
|
BillNumberTypeEnum type = BillNumberTypeEnum.正常; |
|
|
|
if (i + recordNumber > 1999) |
|
|
|
{ |
|
|
|
if ((i + recordNumber - 1999) != number) type = BillNumberTypeEnum.断号; |
|
|
|
if ((i + recordNumber - 1999) != number) |
|
|
|
{ |
|
|
|
type = BillNumberTypeEnum.断号; |
|
|
|
_logger.LogDebug($"#999#产生断号数据【{i + recordNumber - 1999}】,传入号码为【{number}】,缓存号码【{recordcache.RecordNumber}】,插入条数【{recordcache.InsertedRows}】,轮数【{roundNumber}】,下一轮"); |
|
|
|
} |
|
|
|
item = CreatPrintData(type, i + recordNumber - 1999, roundNumber * 100000); |
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|
if ((i + recordNumber) != number) type = BillNumberTypeEnum.断号; |
|
|
|
|
|
|
|
if ((i + recordNumber) != number) |
|
|
|
{ |
|
|
|
type = BillNumberTypeEnum.断号; |
|
|
|
_logger.LogDebug($"#999#产生断号数据【{i + recordNumber}】,传入号码为【{number}】,缓存号码【{recordcache.RecordNumber}】,插入条数【{recordcache.InsertedRows}】,轮数【{roundNumber}】,当前轮"); |
|
|
|
} |
|
|
|
item = CreatPrintData(type, i + recordNumber, (roundNumber - 1) * 100000); |
|
|
|
} |
|
|
|
datas.Add(item); |
|
|
@ -152,7 +159,12 @@ namespace WY.NewJit.MsgCheck |
|
|
|
for (int i = 1; i <= recordcache.InsertedRows; i++) |
|
|
|
{ |
|
|
|
BillNumberTypeEnum type = BillNumberTypeEnum.正常; |
|
|
|
if ((i + recordNumber) != number) type = BillNumberTypeEnum.断号; |
|
|
|
if ((i + recordNumber) != number) |
|
|
|
{ |
|
|
|
type = BillNumberTypeEnum.断号; |
|
|
|
_logger.LogDebug($"#999#产生断号数据【{i + recordNumber}】,传入号码为【{number}】,缓存号码【{recordcache.RecordNumber}】,插入条数【{recordcache.InsertedRows}】,轮数【{recordcache.RoundNumber}】,方法当前轮数"); |
|
|
|
} |
|
|
|
|
|
|
|
var item = CreatPrintData(type, i + recordNumber, roundNumber * 100000); |
|
|
|
datas.Add(item); |
|
|
|
} |
|
|
|