|
@ -872,8 +872,15 @@ namespace WY.NewJit.PrintTable |
|
|
return new ListResultDto<string>(retLst); |
|
|
return new ListResultDto<string>(retLst); |
|
|
} |
|
|
} |
|
|
//判断是否断号
|
|
|
//判断是否断号
|
|
|
ListResultDto<WaitPrint> tempLst = await GetMBReportDetailList(input, true); //-------------------
|
|
|
int printBillCnt = input.EndHostSN - input.BeginHostSN + 1; |
|
|
List<WaitPrint> billLst = tempLst.Item; |
|
|
List<WaitPrint> billLst = await _waitPrintRepository.Where(itm => |
|
|
|
|
|
itm.BusinessType == BusinessTypeEnum.MenBan |
|
|
|
|
|
&& itm.ProductLine == input.ProductLine //生产线
|
|
|
|
|
|
&& itm.PrintType == PrintTypeEnum.OrderPrint //顺序打印
|
|
|
|
|
|
&& itm.HostSN2 >= minHostSN2) |
|
|
|
|
|
.OrderBy(itm => itm.HostSN2) |
|
|
|
|
|
.Take(printBillCnt).ToListAsync(); |
|
|
|
|
|
|
|
|
bool isBreakNum = billLst.Any(itm => itm.BillStatus == BillStatusEnum.BreakNum); |
|
|
bool isBreakNum = billLst.Any(itm => itm.BillStatus == BillStatusEnum.BreakNum); |
|
|
if (isBreakNum) |
|
|
if (isBreakNum) |
|
|
{ |
|
|
{ |
|
|