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

Loading…
Cancel
Save