|
|
@ -466,7 +466,7 @@ public class ProdReadyTaskServiceImpl extends ServiceImpl<ProdReadyTaskMapper, P
|
|
|
|
queryWrapper.eq(PrintLog.CATEGORY, type);
|
|
|
|
queryWrapper.eq(PrintLog.CATEGORY, type);
|
|
|
|
queryWrapper.eq(PrintLog.PRINT_TEMPLATE, type);
|
|
|
|
queryWrapper.eq(PrintLog.PRINT_TEMPLATE, type);
|
|
|
|
List<PrintLog> printLogList = printLogService.list(queryWrapper);
|
|
|
|
List<PrintLog> printLogList = printLogService.list(queryWrapper);
|
|
|
|
if (printLogList.isEmpty()) {
|
|
|
|
if (printLogList.isEmpty() || !printLogList.isEmpty()) {
|
|
|
|
//打印参数
|
|
|
|
//打印参数
|
|
|
|
LabelPrintDto labelPrintDto = new LabelPrintDto();
|
|
|
|
LabelPrintDto labelPrintDto = new LabelPrintDto();
|
|
|
|
labelPrintDto.setPrinter(printName);
|
|
|
|
labelPrintDto.setPrinter(printName);
|
|
|
|