单菜票扩展纸张大小
This commit is contained in:
@@ -71,8 +71,16 @@ public interface PrinterImpl {
|
||||
private String out;
|
||||
private String rs;
|
||||
|
||||
|
||||
/**
|
||||
* 走纸
|
||||
*/
|
||||
public String out(int num) {
|
||||
return StrUtil.format("<{}:{}>", out, num);
|
||||
}
|
||||
|
||||
public String out() {
|
||||
return StrUtil.format("<{}:{}>", out, 180);
|
||||
return out(180);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -481,8 +489,13 @@ public interface PrinterImpl {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.append(formatLabel(pickupNumber, signLabelInfo.centerBold))
|
||||
.append(signLabelInfo.br);
|
||||
builder.append(signLabelInfo.br);
|
||||
builder.append(signLabelInfo.br);
|
||||
builder.append(signLabelInfo.br);
|
||||
builder.append(formatLabel(StrUtil.format("时间:{}", DateUtil.format(orderDetail.getCreateTime(), "yyyy-MM-dd HH:mm:ss")), signLabelInfo.s, signLabelInfo.center))
|
||||
.append(signLabelInfo.br);
|
||||
builder.append(signLabelInfo.out(70));
|
||||
|
||||
Integer isWaitCall = ObjectUtil.defaultIfNull(orderDetail.getIsWaitCall(), 0);
|
||||
if (isWaitCall == 1) {
|
||||
if (!orderDetail.getProductName().contains("【等叫】")) {
|
||||
|
||||
Reference in New Issue
Block a user