lvzb 1 year ago
parent
commit
39060a44f6
  1. 13
      src/Modules/新版JIT或JIS系统服务端/src/WY.NewJit.Domain/MsgCheck/Services/BillNumberRecordDomainService.cs

13
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); 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);

Loading…
Cancel
Save