From 2b1cfadefa1a9533fb454839947aaec2e394b499 Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期六, 06 五月 2023 16:44:47 +0800
Subject: [PATCH] 卡包退款优化

---
 phi_platform_user/src/main/java/com/hx/phip/tool/refund/PartialRefundUtil.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/phi_platform_user/src/main/java/com/hx/phip/tool/refund/PartialRefundUtil.java b/phi_platform_user/src/main/java/com/hx/phip/tool/refund/PartialRefundUtil.java
index 3d84077..4fc7cf1 100644
--- a/phi_platform_user/src/main/java/com/hx/phip/tool/refund/PartialRefundUtil.java
+++ b/phi_platform_user/src/main/java/com/hx/phip/tool/refund/PartialRefundUtil.java
@@ -1,5 +1,6 @@
 package com.hx.phip.tool.refund;
 
+import com.alibaba.fastjson.JSON;
 import com.hx.common.service.CommonService;
 import com.hx.exception.TipsException;
 import com.hx.mybatisTool.SqlSentence;
@@ -32,6 +33,7 @@
 import com.hx.util.StringUtils;
 import com.platform.exception.PlatTipsException;
 import com.platform.resultTool.PlatformCode;
+import net.sf.json.JSONObject;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.beans.BeanUtils;
@@ -1127,6 +1129,7 @@
         }
 
         if(returnNum > userCardUsedList.size()){
+            logger.error("鍗″寘鍙��鏁伴噺閿欒-鍗″寘閫�娆惧け璐�,鏌ヨ璇彞锛歿},浼犲叆鍙傛暟锛歿}",sqlSentence.getSqlSentence(), JSON.toJSONString(sqlSentence.getM()));
             logger.error("鍗″寘鍙��鏁伴噺閿欒-鍗″寘閫�娆惧け璐�,userCardId:{},cardItemInfoId:{},sourceId:{},orderId:{},refundNum:{},returnNum:{}",userCardId,cardItemInfoId,sourceId,orderId,refundNum,returnNum);
             throw new TipsException("鍗″寘鍙��鏁伴噺閿欒锛�");
         }

--
Gitblit v1.8.0