peng
10 天以前 b2a68b1eaa6db1c1456534e084d66fe98e4443f0
framework/src/main/resources/mapper/lmk/VideoMapper.xml
@@ -1063,5 +1063,17 @@
            LV.delete_flag = 0
        LIMIT #{start}, #{pageSize}
    </select>
    <resultMap id="videoUserBaseInfoMap" type="cn.lili.modules.lmk.domain.vo.VideoUserBaseInfo">
    <result property="avatar" column="avatar"/>
    <result property="nickName" column="nick_name"/>
    </resultMap>
    <select id="getVideoSysUserBaseInfo" resultMap="videoUserBaseInfoMap">
        SELECT nick_name ,avatar FROM li_admin_user
        WHERE id = #{id}
    </select>
    <select id="getVideoMemUserBaseInfo" resultMap="videoUserBaseInfoMap">
        SELECT nick_name, face AS avatar
        FROM li_member
        WHERE id = #{id}
    </select>
</mapper>