From 8fbbf4ebaa2138eab218c197d51f2a0de1aff7cf Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 20 Dec 2021 14:10:54 +0800
Subject: [PATCH] 20211216
---
src/main/resources/mapper/modules/VideoMemberMapper.xml | 28 +++++++++++++---------------
1 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/src/main/resources/mapper/modules/VideoMemberMapper.xml b/src/main/resources/mapper/modules/VideoMemberMapper.xml
index 680b90c..ab5d855 100644
--- a/src/main/resources/mapper/modules/VideoMemberMapper.xml
+++ b/src/main/resources/mapper/modules/VideoMemberMapper.xml
@@ -15,30 +15,28 @@
</select>
<select id="selectVideoMemberListInPage" resultType="cc.mrbird.febs.video.entity.VideoMemberEntity">
- SELECT a.*
+ SELECT
+ a.*
FROM video_member a
<where>
<if test="record != null" >
- <if test="record.name!=null and record.name!=''">
- and m.name like concat('%', #{record.name},'%')
- </if>
<if test="record.account!=null and record.account!=''">
- and (
- m.phone like concat('%', #{record.account},'%')
- or m.email like concat('%', #{record.account},'%')
- or m.bind_phone like concat('%', #{record.account},'%')
- or m.invite_id like concat('%', #{record.account},'%')
- )
+ and (a.account like concat('%', #{record.account},'%')
+ or a.name like concat('%', #{record.account}, '%'))
</if>
- <if test="record.accountStatus!=null">
- and m.account_status = #{record.accountStatus}
+ <if test="record.isVip!=null">
+ and a.is_vip = #{record.isVip}
</if>
- <if test="record.accountType != null" >
- and m.account_type = #{record.accountType}
+ <if test="record.accountStatus != null" >
+ and a.account_status = #{record.accountStatus}
</if>
</if>
</where>
- order by m.CREATED_TIME desc
+ order by a.CREATED_TIME desc
+ </select>
+
+ <select id="getAppVersionListInPage" resultType="cc.mrbird.febs.video.entity.AppVersion">
+ select a.* from app_version a
</select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1