|
@@ -49,6 +49,31 @@
|
|
|
</if>
|
|
|
order by createTime desc
|
|
|
</select>
|
|
|
+ <select id="getAllCertifiedClubUserList" resultType="com.caimei.model.vo.ClubUserVo">
|
|
|
+ select cu.id as clubUserId,
|
|
|
+ cu.authId,
|
|
|
+ cu.name,
|
|
|
+ cu.mobile,
|
|
|
+ cu.addTime,
|
|
|
+ cu.nickName,
|
|
|
+ cu.openId,
|
|
|
+ cu.status
|
|
|
+ from cm_brand_club_user cu
|
|
|
+ left join cm_brand_auth a on cu.authId = a.id
|
|
|
+ where cu.authUserId = #{authUserId}
|
|
|
+ and cu.delFlag = 0
|
|
|
+ and (a.id is null || a.delFlag = 0)
|
|
|
+ <if test="name != null and name != ''">
|
|
|
+ and cu.name like concat('%',#{name},'%')
|
|
|
+ </if>
|
|
|
+ <if test="mobile != null and mobile != ''">
|
|
|
+ and cu.mobile like concat('%',#{mobile},'%')
|
|
|
+ </if>
|
|
|
+ <if test="status != null">
|
|
|
+ and cu.status = #{status}
|
|
|
+ </if>
|
|
|
+ order by cu.addTime desc
|
|
|
+ </select>
|
|
|
<select id="getClubUserList" resultType="com.caimei.model.vo.ClubUserVo">
|
|
|
select cu.id as clubUserId,
|
|
|
cu.authId,
|