充值
This commit is contained in:
@@ -37,7 +37,7 @@ public class RechargePrintDTO implements Serializable {
|
|||||||
//充值后余额
|
//充值后余额
|
||||||
private BigDecimal balance;
|
private BigDecimal balance;
|
||||||
//已付金额
|
//已付金额
|
||||||
private BigDecimal payAmount;
|
// private BigDecimal payAmount;
|
||||||
//支付方式
|
//支付方式
|
||||||
private String payType;
|
private String payType;
|
||||||
//操作员
|
//操作员
|
||||||
|
|||||||
@@ -465,7 +465,7 @@ public interface PrinterImpl {
|
|||||||
StringBuilder builder = new StringBuilder();
|
StringBuilder builder = new StringBuilder();
|
||||||
builder.append(getFormatLabel(pickupNumber, signLabelInfo.centerBold))
|
builder.append(getFormatLabel(pickupNumber, signLabelInfo.centerBold))
|
||||||
.append(signLabelInfo.br);
|
.append(signLabelInfo.br);
|
||||||
builder.append(getFormatLabel(StrUtil.format("时间: {}", DateUtil.format(orderDetail.getCreateTime(), "yyyy-MM-dd HH:mm:ss")), signLabelInfo.f, signLabelInfo.center))
|
builder.append(getFormatLabel(StrUtil.format("时间:{}", DateUtil.format(orderDetail.getCreateTime(), "yyyy-MM-dd HH:mm:ss")), signLabelInfo.f, signLabelInfo.center))
|
||||||
.append(signLabelInfo.br);
|
.append(signLabelInfo.br);
|
||||||
Integer isWaitCall = ObjectUtil.defaultIfNull(orderDetail.getIsWaitCall(), 0);
|
Integer isWaitCall = ObjectUtil.defaultIfNull(orderDetail.getIsWaitCall(), 0);
|
||||||
if (isWaitCall == 1) {
|
if (isWaitCall == 1) {
|
||||||
@@ -725,7 +725,7 @@ public interface PrinterImpl {
|
|||||||
builder.append(getFormatLabel(leftRightAlign(" 充值后余额:", record.getBalance().stripTrailingZeros().toPlainString(), 32), signLabelInfo.s)).append(signLabelInfo.br);
|
builder.append(getFormatLabel(leftRightAlign(" 充值后余额:", record.getBalance().stripTrailingZeros().toPlainString(), 32), signLabelInfo.s)).append(signLabelInfo.br);
|
||||||
builder.append(getFormatLabel("--------------------------------")).append(signLabelInfo.br);
|
builder.append(getFormatLabel("--------------------------------")).append(signLabelInfo.br);
|
||||||
// 支付信息
|
// 支付信息
|
||||||
builder.append(getFormatLabel(leftRightAlign("已付金额:", record.getPayAmount().stripTrailingZeros().toPlainString(), 32), signLabelInfo.s)).append(signLabelInfo.br);
|
builder.append(getFormatLabel(leftRightAlign("已付金额:", record.getRechargeAmount().stripTrailingZeros().toPlainString(), 32), signLabelInfo.s)).append(signLabelInfo.br);
|
||||||
builder.append(getFormatLabel(leftRightAlign("支付方式:", record.getPayType(), 32), signLabelInfo.s)).append(signLabelInfo.br);
|
builder.append(getFormatLabel(leftRightAlign("支付方式:", record.getPayType(), 32), signLabelInfo.s)).append(signLabelInfo.br);
|
||||||
builder.append(getFormatLabel("--------------------------------")).append(signLabelInfo.br);
|
builder.append(getFormatLabel("--------------------------------")).append(signLabelInfo.br);
|
||||||
builder.append(getFormatLabel(StrUtil.format("操作员: {}", record.getOperator()), signLabelInfo.s)).append(signLabelInfo.br);
|
builder.append(getFormatLabel(StrUtil.format("操作员: {}", record.getOperator()), signLabelInfo.s)).append(signLabelInfo.br);
|
||||||
|
|||||||
Reference in New Issue
Block a user