打印 过长问题
This commit is contained in:
@@ -586,7 +586,7 @@ public interface PrinterImpl {
|
||||
// 基础信息:打印时间、操作人、统计时间
|
||||
builder.append(getFormatLabel(StrUtil.format("打印时间: {}", DateUtil.format(LocalDateTime.now(), "yyyy/MM/dd HH:mm:ss")), signLabelInfo.s)).append(signLabelInfo.br);
|
||||
builder.append(getFormatLabel(StrUtil.format("操作人: {}", record.getOperator()), signLabelInfo.s)).append(signLabelInfo.br);
|
||||
builder.append(getFormatLabel(StrUtil.format("统计时间: {}", record.getStatisticsTime()), signLabelInfo.s)).append(signLabelInfo.br).append(signLabelInfo.br);
|
||||
builder.append(getFormatLabel(StrUtil.format("时间: {}", record.getStatisticsTime()), signLabelInfo.s)).append(signLabelInfo.br).append(signLabelInfo.br);
|
||||
|
||||
// 营业总额
|
||||
DayReportPrintDTO.TurnoverSts turnover = record.getTurnover();
|
||||
@@ -654,7 +654,7 @@ public interface PrinterImpl {
|
||||
// 基础信息:打印时间、操作人、统计时间
|
||||
builder.append(getFormatLabel(StrUtil.format("打印时间: {}", DateUtil.format(LocalDateTime.now(), "yyyy/MM/dd HH:mm:ss")), signLabelInfo.s)).append(signLabelInfo.br);
|
||||
builder.append(getFormatLabel(StrUtil.format("操作人: {}", record.getOperator()), signLabelInfo.s)).append(signLabelInfo.br);
|
||||
builder.append(getFormatLabel(StrUtil.format("统计时间: {}", record.getStatisticsTime()), signLabelInfo.s)).append(signLabelInfo.br).append(signLabelInfo.br);
|
||||
builder.append(getFormatLabel(StrUtil.format("时间: {}", record.getStatisticsTime()), signLabelInfo.s)).append(signLabelInfo.br).append(signLabelInfo.br);
|
||||
|
||||
// 总计行:总计商品X件,实收金额X元
|
||||
String totalCountStr = record.getTotalProductCount().stripTrailingZeros().toPlainString();
|
||||
|
||||
Reference in New Issue
Block a user