Commit 3ccdcf0c authored by 张永's avatar 张永

11

parent 53b1f210
...@@ -1874,15 +1874,19 @@ public class OrderServiceImpl implements OrderService { ...@@ -1874,15 +1874,19 @@ public class OrderServiceImpl implements OrderService {
break; break;
}else { }else {
statusName = cbkJsonResult.containsKey("err_code_des")?cbkJsonResult.getString("err_code_des"):cbkJsonResult.getString("message"); try {
if(StringUtil.isBlank(statusName)) { statusName = cbkJsonResult.containsKey("err_code_des")?cbkJsonResult.getString("err_code_des"):cbkJsonResult.getString("message");
statusName = "分账支付失败."; if(StringUtil.isBlank(statusName)) {
} statusName = "分账支付失败.";
//支付失败 }
String sql = "exec up_B2BSalesOrderPayCallBack '" + OutTradeNO + "' ,'' , '' , '' , '" + PayTypeID + "' ,1,'"+statusName+"' "; //支付失败
List<Map<String, Object>> returnMap = jdbcTemplate.executeMutil(sql).getDatas().get(0); String sql = "exec up_B2BSalesOrderPayCallBack '" + OutTradeNO + "' ,'' , '' , '' , '" + PayTypeID + "' ,1,'"+statusName+"' ";
String returnStr = GsonUtil.toJson(returnMap); List<Map<String, Object>> returnMap = jdbcTemplate.executeMutil(sql).getDatas().get(0);
logger.info("第:{} 次进行扫呗分账支付失败 ,回写结果:{} ",ii,returnStr); String returnStr = GsonUtil.toJson(returnMap);
logger.info("第:{} 次进行扫呗分账支付失败 ,回写结果:{} ",ii,returnStr);
} catch (Exception e) {
logger.info("第:{} 次进行扫呗分账支付失败 ,回写结果异常:{} ",ii,e);
}
} }
} }
......
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