|
@@ -535,6 +535,7 @@ public class PayController {
|
|
|
|
|
|
//将用户消费的信息插入顾客表: 以手机号 油品名称 油站id为条件插入且存入 加油升数、实收金额、油站名称 根据订单号查询用户手机号
|
|
|
Map<String, Object> infoMap = payOrderService.getOrderInfoAndUserInfoByOrderNo(payOrder); //获取该订单手机号、加油升数、实收金额、油站名称
|
|
|
+ logger.info("根据订单查询用户手机号等信息infoMap"+ infoMap.toString());
|
|
|
//手机号必须有
|
|
|
if(infoMap != null && infoMap.containsKey("mobilePhone") && infoMap.get("mobilePhone") !=null ){
|
|
|
|
|
@@ -774,13 +775,13 @@ public class PayController {
|
|
|
content1 += "订单号:"+orderNoP+" <BR>";
|
|
|
content1 += "时间:"+createdDateP+" <BR>";
|
|
|
content1 += "油站:"+stationNameP+" <BR>";
|
|
|
- if(infoMap.containsKey("orderType") && infoMap.get("orderType").equals("1")){
|
|
|
+ if(infoMap.containsKey("orderType") && infoMap.get("orderType").toString().equals("1")){
|
|
|
content1 += "油品: "+oilNameP+" <BR>";
|
|
|
content1 += "油量: "+orderLitersP+" 升<BR>";
|
|
|
content1 += "单价: "+oilPirceP+" L/元<BR>";
|
|
|
}
|
|
|
content1 += "<BOLD><B>原价: "+receivableAmtP+" 元</B></BOLD><BR>";
|
|
|
- if(infoMap.containsKey("orderType") && infoMap.get("orderType").equals("1")){
|
|
|
+ if(infoMap.containsKey("orderType") && infoMap.get("orderType").toString().equals("1")){
|
|
|
content1 += "优惠: "+discountAmtP+" 元<BR>";
|
|
|
}
|
|
|
content1 += "支付: "+amtP+" 元<BR>";
|
|
@@ -793,13 +794,13 @@ public class PayController {
|
|
|
content2 += "订单号:"+orderNoP+" <BR>";
|
|
|
content2 += "时间:"+createdDateP+"<BR>";
|
|
|
content2 += "油站:"+stationNameP+" <BR>";
|
|
|
- if(infoMap.containsKey("orderType") && infoMap.get("orderType").equals("1")){
|
|
|
+ if(infoMap.containsKey("orderType") && infoMap.get("orderType").toString().equals("1")){
|
|
|
content2 += "油品: "+oilNameP+" <BR>";
|
|
|
content2 += "油量: "+orderLitersP+" 升<BR>";
|
|
|
content2 += "单价: "+oilPirceP+" L/元<BR>";
|
|
|
}
|
|
|
content2 += "<BOLD><B>原价: "+receivableAmtP+" 元</B></BOLD><BR>";
|
|
|
- if(infoMap.containsKey("orderType") && infoMap.get("orderType").equals("1")){
|
|
|
+ if(infoMap.containsKey("orderType") && infoMap.get("orderType").toString().equals("1")){
|
|
|
content2 += "优惠: "+discountAmtP+" 元<BR>";
|
|
|
}
|
|
|
content2 += "支付: "+amtP+" 元<BR>";
|