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