|
|
@@ -2,6 +2,7 @@ package cn.com.taiji.ias.manager.order; |
|
|
|
|
|
|
|
import cn.com.taiji.common.manager.net.http.ServiceHandleException; |
|
|
|
import cn.com.taiji.common.pub.StringTools; |
|
|
|
import cn.com.taiji.common.pub.TimeTools; |
|
|
|
import cn.com.taiji.core.entity.basic.QtkCustomerInfo; |
|
|
|
import cn.com.taiji.core.entity.basic.QtkServiceHall; |
|
|
|
import cn.com.taiji.core.entity.basic.QtkServicehallLocation; |
|
|
@@ -300,7 +301,7 @@ public abstract class AbstractOrderManager<T extends AbstractSignTypeRequest<?>> |
|
|
|
AtsQueryPayResultV3Response res = jsonPostRepeat(v3Request); |
|
|
|
if (OrderPayStatus.SUCCESS.equals(res.getTradeState())) { |
|
|
|
pay.setPayStatus(OrderPayStatus.SUCCESS); |
|
|
|
pay.setPayTime(MyTimeTools.strToTime(res.getSuccessTime(), DateTimeFormatter.ofPattern("yyyy-MM-ddTHH:mm:ss"))); |
|
|
|
pay.setPayTime(MyTimeTools.strToTime(res.getSuccessTime(), TimeTools.ISO_LOCAL_DATE_TIME)); |
|
|
|
pay.setUpdateTime(LocalDateTime.now()); |
|
|
|
pay.setExternalOrderNo(res.getTransactionId()); |
|
|
|
pay.setPayResult(res.toJson()); |
|
|
@@ -319,7 +320,7 @@ public abstract class AbstractOrderManager<T extends AbstractSignTypeRequest<?>> |
|
|
|
AtsQueryPayResultV2Response res = jsonPostRepeat(v2Request); |
|
|
|
if (OrderPayStatus.SUCCESS.equals(res.getTradeState())) { |
|
|
|
pay.setPayStatus(OrderPayStatus.SUCCESS); |
|
|
|
pay.setPayTime(MyTimeTools.strToTime(res.getTimeEnd(), DateTimeFormatter.ofPattern("yyyyMMddHHmmss"))); |
|
|
|
pay.setPayTime(MyTimeTools.strToTime(res.getTimeEnd(), TimeTools.yyyyMMddHHmmss)); |
|
|
|
pay.setUpdateTime(LocalDateTime.now()); |
|
|
|
pay.setExternalOrderNo(res.getTransactionId()); |
|
|
|
pay.setPayResult(res.toJson()); |