|
@ -4,6 +4,7 @@ using System.Collections.Generic; |
|
|
using System.Linq; |
|
|
using System.Linq; |
|
|
using System.Text; |
|
|
using System.Text; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
|
|
|
using Volo.Abp; |
|
|
using Volo.Abp.Domain.Repositories; |
|
|
using Volo.Abp.Domain.Repositories; |
|
|
using Volo.Abp.Domain.Services; |
|
|
using Volo.Abp.Domain.Services; |
|
|
using WY.NewJit.MsgBaseData; |
|
|
using WY.NewJit.MsgBaseData; |
|
@ -75,6 +76,11 @@ namespace WY.NewJit.MsgCheck |
|
|
{ |
|
|
{ |
|
|
List<PrintData> datas = new List<PrintData>(); |
|
|
List<PrintData> datas = new List<PrintData>(); |
|
|
var recordcache= _billNumberRecordCaches.FirstOrDefault(r=>r.ProductLine==productLine); |
|
|
var recordcache= _billNumberRecordCaches.FirstOrDefault(r=>r.ProductLine==productLine); |
|
|
|
|
|
if (recordcache == null) |
|
|
|
|
|
{ |
|
|
|
|
|
_logger.LogDebug("缓存记录为空无法解析!"); |
|
|
|
|
|
throw new BusinessException("1001", "缓存记录为空无法解析!"); |
|
|
|
|
|
} |
|
|
int recordNumber = recordcache.RecordNumber;//记录号
|
|
|
int recordNumber = recordcache.RecordNumber;//记录号
|
|
|
int roundNumber = recordcache.RoundNumber; //记录轮数
|
|
|
int roundNumber = recordcache.RoundNumber; //记录轮数
|
|
|
int x = number - recordNumber; |
|
|
int x = number - recordNumber; |
|
|