|
@ -82,11 +82,14 @@ namespace WY.NewJit.MsgCheck |
|
|
var recordcache= _billNumberRecordCaches.FirstOrDefault(r=>r.ProductLine==productLine); |
|
|
var recordcache= _billNumberRecordCaches.FirstOrDefault(r=>r.ProductLine==productLine); |
|
|
if (recordcache == null) |
|
|
if (recordcache == null) |
|
|
{ |
|
|
{ |
|
|
recordcache = new BillNumberRecord(); |
|
|
recordcache = new BillNumberRecord( |
|
|
recordcache.RecordNumber = 0; |
|
|
GuidGenerator.Create(), |
|
|
recordcache.RoundNumber = 1; |
|
|
productLine, |
|
|
recordcache.RecordNumber = 0; |
|
|
1, |
|
|
recordcache.ProductLine = productLine; |
|
|
0, |
|
|
|
|
|
0, |
|
|
|
|
|
DateTime.Now |
|
|
|
|
|
); |
|
|
_billNumberRecordCaches.Add(recordcache); |
|
|
_billNumberRecordCaches.Add(recordcache); |
|
|
var item = CreatPrintData(BillNumberTypeEnum.正常, number, 1 * 100000); |
|
|
var item = CreatPrintData(BillNumberTypeEnum.正常, number, 1 * 100000); |
|
|
datas.Add(item); |
|
|
datas.Add(item); |
|
|