From 2a9a77e021c16037220c2c29ca116a69e352bdcc Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Thu, 25 Jan 2024 10:20:25 +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