提交 851797f8 authored 作者: 胡宁宁's avatar 胡宁宁

增加司机保证金冻结支付接口 修改流水号

上级 1b7f0ac1
...@@ -194,9 +194,7 @@ public class PayNotifyController { ...@@ -194,9 +194,7 @@ public class PayNotifyController {
} }
private Integer analysisSuccess(String result,Integer operation, String paymentItem){ private void analysisSuccess(String result,Integer operation, String paymentItem){
//36:201706050000015794,37:201706050000015838,38:201706050000015992
Integer id = 0;
if(result.contains(",")){ if(result.contains(",")){
String[] stringFlag = result.split(","); String[] stringFlag = result.split(",");
if(stringFlag.length>0){ if(stringFlag.length>0){
...@@ -205,7 +203,6 @@ public class PayNotifyController { ...@@ -205,7 +203,6 @@ public class PayNotifyController {
String [] ress = stringFlag[i].split("="); String [] ress = stringFlag[i].split("=");
if(ress.length==2){//例如 id=serialNo if(ress.length==2){//例如 id=serialNo
paymentService.updateOrderPaymentSerialNoSuccess(ress[0],ress[1],operation,paymentItem); paymentService.updateOrderPaymentSerialNoSuccess(ress[0],ress[1],operation,paymentItem);
id = Integer.valueOf(ress[0]);
} }
} }
} }
...@@ -213,10 +210,8 @@ public class PayNotifyController { ...@@ -213,10 +210,8 @@ public class PayNotifyController {
String[] ress = result.split("="); String[] ress = result.split("=");
if(ress.length==2){//例如 id=serialNo if(ress.length==2){//例如 id=serialNo
paymentService.updateOrderPaymentSerialNoSuccess(ress[0],ress[1],operation,paymentItem); paymentService.updateOrderPaymentSerialNoSuccess(ress[0],ress[1],operation,paymentItem);
id = Integer.valueOf(ress[0]);
} }
} }
return id;
} }
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论