From a9c1ab06b1822a2b6fb3e4c19425961bbb0972cf Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期一, 15 五月 2023 10:07:31 +0800
Subject: [PATCH] 作废退款-测

---
 phi_platform_user/src/main/java/com/hx/phip/tool/refund/OrderRefundCancelTool.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/phi_platform_user/src/main/java/com/hx/phip/tool/refund/OrderRefundCancelTool.java b/phi_platform_user/src/main/java/com/hx/phip/tool/refund/OrderRefundCancelTool.java
index ad90a6a..267df75 100644
--- a/phi_platform_user/src/main/java/com/hx/phip/tool/refund/OrderRefundCancelTool.java
+++ b/phi_platform_user/src/main/java/com/hx/phip/tool/refund/OrderRefundCancelTool.java
@@ -62,10 +62,10 @@
         values.put("refundRecordId",refundRecord.getId());
         sqlSentence.sqlSentence("SELECT * FROM refund_record_method WHERE isDel = 0 AND refundRecordId = #{m.refundRecordId}",values);
         List<RefundRecordMethod> refundRecordMethodList = commonService.selectList(RefundRecordMethodMapper.class,sqlSentence);
-        //閫�娆剧殑鏀粯鏂瑰紡璁板綍鏁版嵁
+        //閫�娆剧殑鏀粯鏂瑰紡璁板綍鏁版嵁锛屾�荤殑
         values.clear();
         values.put("refundRecordId",refundRecord.getId());
-        sqlSentence.sqlSentence("SELECT * FROM refund_record_consume_pay WHERE isDel = 0 AND refundRecordId = #{m.refundRecordId}",values);
+        sqlSentence.sqlSentence("SELECT * FROM refund_record_consume_pay WHERE isDel = 0 AND refundRecordId = #{m.refundRecordId} AND refundRecordItemId IS NULL",values);
         List<RefundRecordConsumePay> refundConsumePayList = commonService.selectList(RefundRecordConsumePayMapper.class,sqlSentence);
 
         for(RefundRecordConsumePay refundRecordConsumePay:refundConsumePayList){

--
Gitblit v1.8.0