| | |
| | | <result column="update_time" property="updateTime" /> |
| | | </resultMap> |
| | | |
| | | <select id="getVideoCollectPage" resultMap="videoBaseResult"> |
| | | SELECT |
| | | LV.*, |
| | | LM.nick_name as authorName |
| | | FROM lmk_my_collect LMC |
| | | LEFT JOIN lmk_video LV |
| | | ON LMC.ref_id = LV.id |
| | | LEFT JOIN li_member LM ON LV.author_id = LM.id |
| | | WHERE LMC.collect_type = 'video' and LMC.user_id = #{userId} |
| | | and LV.delete_flag = 0 and LM.delete_flag= 0 and LMC.delete_flag =0 |
| | | </select> |
| | | |
| | | <resultMap id="storeBaseResult" type="cn.lili.modules.store.entity.vos.StoreBasicInfoVO"> |
| | | <id column="id" property="storeId"/> |
| | | <result column="store_name" property="storeName"/> |