mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 19:45:09 +08:00
Merge branch 'dev' of http://192.168.2.2:8099/jsowell/jsowell-charger-web into dev
This commit is contained in:
@@ -1090,9 +1090,6 @@ public class OrderService {
|
||||
memberTransactionRecordService.insertSelective(record);
|
||||
|
||||
if (StringUtils.equals(scenarioType, ScenarioEnum.ORDER.getValue())) { // 1-订单支付
|
||||
// JSONObject json = new JSONObject();
|
||||
// json.put("paymentId", paymentId);
|
||||
// json.put("amount", amount);
|
||||
PaymentInfo paymentInfo = new PaymentInfo();
|
||||
paymentInfo.setPaymentId(paymentId);
|
||||
paymentInfo.setAmount(amount.toString());
|
||||
@@ -1110,7 +1107,13 @@ public class OrderService {
|
||||
orderPayRecordService.batchInsert(Lists.newArrayList(orderPayRecord));
|
||||
|
||||
// 更新冻结金额 支付成功后全部冻结
|
||||
memberAdapayRecordService.updateFreezeAmount(paymentId, amount);
|
||||
CompletableFuture.runAsync(() -> {
|
||||
try {
|
||||
memberAdapayRecordService.updateFreezeAmount(paymentId, amount);
|
||||
} catch (Exception e) {
|
||||
log.error("更新冻结金额 支付成功后全部冻结error", e);
|
||||
}
|
||||
});
|
||||
|
||||
// 支付订单成功
|
||||
PayOrderSuccessCallbackDTO callbackDTO = PayOrderSuccessCallbackDTO.builder()
|
||||
|
||||
Reference in New Issue
Block a user