xucaiqin 2 år sedan
förälder
incheckning
fd9be83b86

+ 3 - 0
sckw-modules/sckw-payment/src/main/java/com/sckw/payment/dubbo/PaymentDubboServiceImpl.java

@@ -1,5 +1,6 @@
 package com.sckw.payment.dubbo;
 
+import com.alibaba.fastjson2.JSONObject;
 import com.sckw.core.exception.BusinessException;
 import com.sckw.core.utils.OrderUtils;
 import com.sckw.core.web.constant.HttpStatus;
@@ -61,6 +62,7 @@ public class PaymentDubboServiceImpl implements PaymentDubboService {
 
     @Override
     public HttpResult freezeMoney(Long payEntId, ChannelEnum channel, Long receiveEntId, BigDecimal money, Long tOrderId) {
+        log.info("贸易下单冻结订单,payEntId:{} channel:{} receiveEntId:{} money:{} tOrderId:{}", payEntId, channel, receiveEntId, money, tOrderId);
         if (Objects.isNull(payEntId)) {
             return HttpResult.error("支付企业不能为空");
         }
@@ -90,6 +92,7 @@ public class PaymentDubboServiceImpl implements PaymentDubboService {
         if (httpResult.getCode() == HttpStatus.SUCCESS_CODE) {
             kwpTradeFreezeService.save(tOrderId, orderNo);
         }
+        log.info("贸易下单冻结订单:{}", JSONObject.toJSONString(httpResult));
         return httpResult;
     }