From dd7e72d1bfe3dddac21a31c71f62096906c2bf46 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Mon, 04 Dec 2023 10:55:02 +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