From 8b4b4eb2a6d06469d0e2a61ec0f8ce4d5953c375 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期五, 20 十二月 2024 16:59:27 +0800
Subject: [PATCH] 代码

---
 manage/src/main/resources/mapping/TCouponReceiveMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/manage/src/main/resources/mapping/TCouponReceiveMapper.xml b/manage/src/main/resources/mapping/TCouponReceiveMapper.xml
index 1962194..b6e84ef 100644
--- a/manage/src/main/resources/mapping/TCouponReceiveMapper.xml
+++ b/manage/src/main/resources/mapping/TCouponReceiveMapper.xml
@@ -24,5 +24,12 @@
     <sql id="Base_Column_List">
         id, couponId, userId, type, amount, storeId, endTime, amountCondition, status, createTime, updateTime, createBy, updateBy, isDelete
     </sql>
+    <select id="pageList" resultType="com.jilongda.manage.vo.TAppUserCouponVO">
+        select t1.* ,t2.name as couponName from
+            t_coupon_receive t1
+        left join t_coupon t2 on t1.couponId = t2.id
+        where t1.userId = #{query.id}
+        and t1.isDelete =  ${@com.jilongda.common.enums.DisabledEnum@NO.getCode()}
+    </select>
 
 </mapper>

--
Gitblit v1.7.1