| | |
| | | select * from video_member where account=#{account} and password=#{password} |
| | | </select> |
| | | |
| | | <select id="selectVideoMemberListInPage" resultType="cc.mrbird.febs.video.entity.VideoMemberEntity"> |
| | | SELECT |
| | | a.* |
| | | FROM video_member a |
| | | <where> |
| | | <if test="record != null" > |
| | | <if test="record.account!=null and record.account!=''"> |
| | | and (a.account like concat('%', #{record.account},'%') |
| | | or a.name like concat('%', #{record.account}, '%')) |
| | | </if> |
| | | <if test="record.isVip!=null"> |
| | | and a.is_vip = #{record.isVip} |
| | | </if> |
| | | <if test="record.accountStatus != null" > |
| | | and a.account_status = #{record.accountStatus} |
| | | </if> |
| | | </if> |
| | | </where> |
| | | order by a.CREATED_TIME desc |
| | | </select> |
| | | |
| | | </mapper> |