From e3155bdcb11ca4e22d2bc9e54f96a1aa00c7ad4a Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Tue, 26 Mar 2024 12:28:45 +0800
Subject: [PATCH] 抽奖
---
src/main/resources/mapper/modules/MallProductSellMapper.xml | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/modules/MallProductSellMapper.xml b/src/main/resources/mapper/modules/MallProductSellMapper.xml
index 51ebf42..a574e65 100644
--- a/src/main/resources/mapper/modules/MallProductSellMapper.xml
+++ b/src/main/resources/mapper/modules/MallProductSellMapper.xml
@@ -16,4 +16,21 @@
where a.id = #{id}
</select>
+ <select id="getSpeakListInPage" resultType="cc.mrbird.febs.mall.entity.MallMemberSpeak">
+ select a.*,b.account_login accountLogin
+ from mall_member_speak a
+ left join mall_member b on a.member_id = b.id
+ <where>
+ <if test="record != null" >
+ <if test="record.accountLogin!=null and record.accountLogin!=''">
+ and b.account_login like concat('%', #{record.accountLogin},'%')
+ </if>
+ <if test="record.state != null">
+ and a.state = #{record.state}
+ </if>
+ </if>
+ </where>
+ order by a.CREATED_TIME desc
+ </select>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1