From d26e7684442a434e5298d8e3e954519faa18420a Mon Sep 17 00:00:00 2001
From: Cui Zhi Feng <7426394+wuxixiaocui@user.noreply.gitee.com>
Date: 星期二, 10 九月 2024 08:29:35 +0800
Subject: [PATCH] 取消订单 优惠券不存在

---
 src/main/resources/mapper/point/CustomerPointMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/point/CustomerPointMapper.xml b/src/main/resources/mapper/point/CustomerPointMapper.xml
index b89823a..91c18e8 100644
--- a/src/main/resources/mapper/point/CustomerPointMapper.xml
+++ b/src/main/resources/mapper/point/CustomerPointMapper.xml
@@ -26,7 +26,7 @@
         <if test="dto.customerId!= null and dto.customerId != 0">
             and t.customer_id = #{dto.customerId}
         </if>
-        <if test="dto.userId!= null and dto.userId != 0">
+        <if test="dto.userId!= null and dto.userId != ''">
             and t.user_id = #{dto.userId}
         </if>
         <if test="dto.recordDateStart!=null ">

--
Gitblit v1.9.3