Ver código fonte

修改打印客户不显示手机号 商户显示时候

jk-GitHub-coder 4 anos atrás
pai
commit
b19f04288c

+ 4 - 4
YijiaRestful/src/main/java/com/platform/yijia/controller/PayController.java

@@ -619,7 +619,7 @@ public class PayController {
                                 }
                             }
 
-                            content1 = "<CB>支付小票--商户联</CB><BR>";
+                            content1 = "<CB>支付小票--顾客联</CB><BR>";
                             content1 += "订单号:"+orderNoP+"  <BR>";
                             content1 += "时间:"+createdDateP+" <BR>";
                             content1 += "油站:"+stationNameP+"  <BR>";
@@ -629,13 +629,13 @@ public class PayController {
                             content1 += "<BOLD><B>原价: "+receivableAmtP+" 元</B></BOLD><BR>";
                             content1 += "优惠: "+discountAmtP+" 元<BR>";
                             content1 += "支付: "+amtP+" 元<BR>";
-                            content1 += "手机号: "+mobilePhoneP+" <BR>";
+                            //content1 += "手机号: "+mobilePhoneP+" <BR>";
                             content1 += "支付方式: "+payWayP+" <BR>";
                             content1 += "<BR>";
                             content1 += "--------------------------------<BR>";
                             content1 += "<BR>";
 
-                            content2 = "<CB>支付小票--顾客联</CB><BR>";
+                            content2 = "<CB>支付小票--商户联</CB><BR>";
                             content2 += "订单号:"+orderNoP+" <BR>";
                             content2 += "时间:"+createdDateP+"<BR>";
                             content2 += "油站:"+stationNameP+" <BR>";
@@ -645,7 +645,7 @@ public class PayController {
                             content2 += "<BOLD><B>原价: "+receivableAmtP+" 元</B></BOLD><BR>";
                             content2 += "优惠: "+discountAmtP+" 元<BR>";
                             content2 += "支付: "+amtP+" 元<BR>";
-                            //content2 += "手机号: "+mobilePhoneP+" <BR>";
+                            content2 += "手机号: "+mobilePhoneP+" <BR>";
                             content2 += "支付方式: "+payWayP+" <BR>";
                             content2 += "<BR>";
                             //获取打印机编号