排队票
This commit is contained in:
@@ -813,7 +813,7 @@ public interface PrinterImpl {
|
|||||||
PrintSignLabel signLabelInfo = getSignLabelInfo();
|
PrintSignLabel signLabelInfo = getSignLabelInfo();
|
||||||
CallTable callTable = printDTO.getCallTable();
|
CallTable callTable = printDTO.getCallTable();
|
||||||
CallQueue callQueue = printDTO.getCallQueue();
|
CallQueue callQueue = printDTO.getCallQueue();
|
||||||
return getFormatLabel(shopName, signLabelInfo.center) +
|
String str = getFormatLabel(shopName, signLabelInfo.center) +
|
||||||
signLabelInfo.br +
|
signLabelInfo.br +
|
||||||
signLabelInfo.br +
|
signLabelInfo.br +
|
||||||
getFormatLabel(StrUtil.format("{} {}", callTable.getName(), callQueue.getCallNum()), signLabelInfo.center, signLabelInfo.bold) +
|
getFormatLabel(StrUtil.format("{} {}", callTable.getName(), callQueue.getCallNum()), signLabelInfo.center, signLabelInfo.bold) +
|
||||||
@@ -824,11 +824,14 @@ public interface PrinterImpl {
|
|||||||
signLabelInfo.br +
|
signLabelInfo.br +
|
||||||
getFormatLabel(printDTO.getCallUrl(), signLabelInfo.center, signLabelInfo.qr) +
|
getFormatLabel(printDTO.getCallUrl(), signLabelInfo.center, signLabelInfo.qr) +
|
||||||
signLabelInfo.br + getDividingLine() + signLabelInfo.br +
|
signLabelInfo.br + getDividingLine() + signLabelInfo.br +
|
||||||
getFormatLabel("描述:" + callTable.getNote(), signLabelInfo.s) + signLabelInfo.br +
|
getFormatLabel("描述:" + callTable.getNote(), signLabelInfo.s) + signLabelInfo.br;
|
||||||
getFormatLabel(StrUtil.format("过号顺延{}桌 {}桌后需重新排号", callTable.getPostponeNum(), callTable.getPostponeNum()), signLabelInfo.s) + signLabelInfo.br +
|
if (callTable.getIsPostpone() != null && callTable.getIsPostpone() == 1) {
|
||||||
getFormatLabel(StrUtil.format("取号时间: {}", DateUtil.format(callQueue.getCreateTime(), "yyyy-MM-dd HH:mm:ss")), signLabelInfo.s) +
|
str = str + getFormatLabel(StrUtil.format("过号顺延{}桌 {}桌后需重新排号", callTable.getPostponeNum(), callTable.getPostponeNum()), signLabelInfo.s) + signLabelInfo.br;
|
||||||
|
}
|
||||||
|
str = str + getFormatLabel(StrUtil.format("取号时间: {}", DateUtil.format(callQueue.getCreateTime(), "yyyy-MM-dd HH:mm:ss")), signLabelInfo.s) +
|
||||||
signLabelInfo.br +
|
signLabelInfo.br +
|
||||||
signLabelInfo.getOut(150) + signLabelInfo.cut;
|
signLabelInfo.getOut(150) + signLabelInfo.cut;
|
||||||
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user