xiaoyong931011
2021-12-14 5fb23b09d9548c51f95d94248b813e97e65d2e89
src/main/resources/mapper/modules/VideoMemberMapper.xml
@@ -3,7 +3,7 @@
<mapper namespace="cc.mrbird.febs.video.mapper.VideoMemberMapper">
    <select id="selectInfoByAccount" resultType="cc.mrbird.febs.video.entity.VideoMemberEntity">
        select * from video_member where phone=#{account} or email=#{account} or invite_id=#{account}
        select * from video_member where account=#{account}  or invite_id=#{account}
    </select>
    <select id="selectInfoByInviteId" resultType="cc.mrbird.febs.video.entity.VideoMemberEntity">
@@ -11,7 +11,7 @@
    </select>
    <select id="selectInfoByAccountAndPwd" resultType="cc.mrbird.febs.video.entity.VideoMemberEntity">
        select * from video_member where (phone=#{account} or email=#{account}) and password=#{password}
        select * from video_member where account=#{account} and password=#{password}
    </select>
</mapper>