package com.ylx.massage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ylx.massage.domain.MomentMedia;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 动态媒体Mapper接口
 */
@Mapper
public interface MomentMediaMapper extends BaseMapper<MomentMedia> {

    /**
     * 根据动态ID查询媒体列表
     */
    List<MomentMedia> selectMediaListByMomentId(Long momentId);
}
