Commit 8aaf5f86 authored by 张永's avatar 张永

111

parent 0ee95297
......@@ -1688,6 +1688,14 @@ public class OrderServiceImpl implements OrderService {
boolean isHave170 = false; //是否有扫呗分账支付
String lcswcbdkTimesSql = "SELECT sValue4 FROM tSystemCtrl WHERE sCode = 'LcswCBKMasterAccount'"; //扫呗分账重试次数
int cbkTimes = 3;
try {
cbkTimes = jdbcTemplate.queryForInt(lcswcbdkTimesSql);
}catch (Exception e) {
}
String sqlOrderQuery = "select\r\n" +
" OrderStatus = nOrderStatus, OrderStatusName = sOrderStatusName,\r\n" +
" TotalRealSaleAmount = nTotalSaleAmount,\r\n" +
......@@ -1855,7 +1863,7 @@ public class OrderServiceImpl implements OrderService {
boolean isPay_170_flag = false; //170分账是否支付成功,true为成功,false为失败
String statusName ="";
for(int ii = 1;ii<=100;ii++) { //需求 #17427 失败了遍历100次,
for(int ii = 1;ii<= cbkTimes ;ii++) { //需求 #17427 失败了遍历100次,
logger.info("第:{} 次进行扫呗分账支付 ,请求:{} ",ii,payObj.toString());
String cbkResult = payClient.post("/lcsw/fz_cbk_dotrans_f", params,map.get("trace_id")+"");
logger.info("第:{} 次进行扫呗分账支付 ,结果:{} ",ii,cbkResult);
......
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