|
|
@ -77,7 +77,7 @@ public class SpPrinterTemplate { |
|
|
|
"------------------------------<BR>" + |
|
|
|
"------------------------------<BR>" + |
|
|
|
"打印时间:" + DateUtil.date2String(new Date(), "yyyy-MM-dd HH:mm:ss") + "<BR>" + |
|
|
|
"打印时间:" + DateUtil.date2String(new Date(), "yyyy-MM-dd HH:mm:ss") + "<BR>" + |
|
|
|
"支付时间:" + payTime + "<BR>" + |
|
|
|
"支付时间:" + payTime + "<BR>" + |
|
|
|
"电话:" + phone.substring(0, 3) + "****" + phone.substring(7) + "<BR>" + |
|
|
|
"电话:" + (StringUtils.isNotBlank(phone)?phone.substring(0, 3) + "****" + phone.substring(7):"") + "<BR>" + |
|
|
|
"来源:" + (StringUtils.isNotBlank(MapUtils.getString(receiptMap, "receiptSource"))?MapUtils.getString(receiptMap, "receiptSource"):"嗨森逛")+ "<BR>" + |
|
|
|
"来源:" + (StringUtils.isNotBlank(MapUtils.getString(receiptMap, "receiptSource"))?MapUtils.getString(receiptMap, "receiptSource"):"嗨森逛")+ "<BR>" + |
|
|
|
"油枪:"+ gunNo + "号<BR>" + |
|
|
|
"油枪:"+ gunNo + "号<BR>" + |
|
|
|
"油品:" + oilNo + "#<BR>" + |
|
|
|
"油品:" + oilNo + "#<BR>" + |
|
|
@ -122,7 +122,7 @@ public class SpPrinterTemplate { |
|
|
|
"------------------------------<BR>" + |
|
|
|
"------------------------------<BR>" + |
|
|
|
"打印时间:" + DateUtil.date2String(new Date(), "yyyy-MM-dd HH:mm:ss") + "<BR>" + |
|
|
|
"打印时间:" + DateUtil.date2String(new Date(), "yyyy-MM-dd HH:mm:ss") + "<BR>" + |
|
|
|
"支付时间:" + payTime + "<BR>" + |
|
|
|
"支付时间:" + payTime + "<BR>" + |
|
|
|
"电话:" + phone.substring(0, 3) + "****" + phone.substring(7) + "<BR>" + |
|
|
|
"电话:" + (StringUtils.isNotBlank(phone)?phone.substring(0, 3) + "****" + phone.substring(7):"") + "<BR>" + |
|
|
|
"来源:" + (StringUtils.isNotBlank(MapUtils.getString(receiptMap, "receiptSource"))?MapUtils.getString(receiptMap, "receiptSource"):"嗨森逛")+ "<BR>" + |
|
|
|
"来源:" + (StringUtils.isNotBlank(MapUtils.getString(receiptMap, "receiptSource"))?MapUtils.getString(receiptMap, "receiptSource"):"嗨森逛")+ "<BR>" + |
|
|
|
"油枪:"+ gunNo + "号<BR>" + |
|
|
|
"油枪:"+ gunNo + "号<BR>" + |
|
|
|
"油品:" + oilNo + "#<BR>" + |
|
|
|
"油品:" + oilNo + "#<BR>" + |
|
|
|