| | |
| | | |
| | | <resultMap id="VideoGoodsMap" type="cn.lili.modules.lmk.domain.vo.VideoGoodsDetailVO"> |
| | | <result column="goods_id" property="goodsId"/> |
| | | <result column="goods_sku_id" property="id"/> |
| | | <result column="goods_num" property="goodsNum"/> |
| | | <result column="goods_name" property="goodsName"/> |
| | | <result column="thumbnail" property="thumbnail"/> |
| | |
| | | <select id="getVideoGoods" parameterType="string" resultMap="VideoGoodsMap"> |
| | | SELECT |
| | | LVG.goods_id, |
| | | LVG.goods_sku_id, |
| | | LVG.goods_num, |
| | | LVG.order_num, |
| | | LG.goods_name, |
| | |
| | | LV.weight, |
| | | LV.audit_pass_time, |
| | | LV.update_time, |
| | | LV.create_time, |
| | | LV.video_content_type, |
| | | LV.video_type, |
| | | LV.video_imgs, |
| | |
| | | LEFT JOIN li_member LM ON LV.author_id = LM.id |
| | | WHERE |
| | | LV.delete_flag = 0 AND LV.status = '1' AND LV.video_type = #{query.videoType} |
| | | ORDER BY |
| | | LV.create_time DESC |
| | | </select> |
| | | <select id="recommendHealthVideo" resultMap="WxResultMap"> |
| | | SELECT |