Commit 957e7cd5 authored by 张永's avatar 张永

11

parent 336ff975
......@@ -1791,9 +1791,9 @@ public class OrderServiceImpl implements OrderService {
String returnStr = GsonUtil.toJson(returnMap);
logger.info("订单号:{},优惠券回写:{}",salesOrderID,returnStr);
Map<String,Object> aMap = returnMap.get(0);
Integer rStatus = (Integer)aMap.get("Status");
String rErrorMsg = (String)aMap.get("ErrorMsg");
String rOrderStatus = (String)aMap.get("OrderStatus");
Integer rStatus = Integer.valueOf(aMap.get("Status")+"") ;
String rErrorMsg = aMap.get("ErrorMsg")+"";
String rOrderStatus = aMap.get("OrderStatus")+"";
if(rStatus <= 0 && rOrderStatus.equals("2")) {
payObj.put("Status", rStatus);
payObj.put("ErrorMsg", rErrorMsg);
......@@ -1815,9 +1815,9 @@ public class OrderServiceImpl implements OrderService {
String returnStr = GsonUtil.toJson(returnMap);
logger.info("订单号:{} , 积分回写:{}",salesOrderID,returnStr);
Map<String,Object> aMap = returnMap.get(0);
Integer rStatus = (Integer)aMap.get("Status");
String rErrorMsg = (String)aMap.get("ErrorMsg");
String rOrderStatus = (String)aMap.get("OrderStatus");
Integer rStatus = Integer.valueOf(aMap.get("Status")+"") ;
String rErrorMsg = aMap.get("ErrorMsg")+"";
String rOrderStatus = aMap.get("OrderStatus")+"";
if(rStatus <= 0 && rOrderStatus.equals("2")) {
payObj.put("Status", rStatus);
payObj.put("ErrorMsg", rErrorMsg);
......@@ -1837,9 +1837,9 @@ public class OrderServiceImpl implements OrderService {
String returnStr = GsonUtil.toJson(returnMap);
logger.info("订单号:{} ,储值余额支付回写:{}",salesOrderID,returnStr);
Map<String,Object> aMap = returnMap.get(0);
Integer rStatus = (Integer)aMap.get("Status");
String rErrorMsg = (String)aMap.get("ErrorMsg");
String rOrderStatus = (String)aMap.get("OrderStatus");
Integer rStatus = Integer.valueOf(aMap.get("Status")+"") ;
String rErrorMsg = aMap.get("ErrorMsg")+"";
String rOrderStatus = aMap.get("OrderStatus")+"";
if(rStatus <= 0 && rOrderStatus.equals("2")) {
payObj.put("Status", rStatus);
payObj.put("ErrorMsg", rErrorMsg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment