66 lines
1.7 KiB
Java
66 lines
1.7 KiB
Java
package com.ruoyi.system.mapper;
|
|
|
|
import com.ruoyi.common.core.domain.entity.UserLikeMusic;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 【请填写功能名称】Mapper接口
|
|
*
|
|
* @author ruoyi
|
|
* @date 2025-07-15
|
|
*/
|
|
public interface UserLikeMusicMapper
|
|
{
|
|
/**
|
|
* 查询【请填写功能名称】
|
|
*
|
|
* @param id 【请填写功能名称】主键
|
|
* @return 【请填写功能名称】
|
|
*/
|
|
public UserLikeMusic selectUserLikeMusicById(String id);
|
|
|
|
/**
|
|
* 查询【请填写功能名称】列表
|
|
*
|
|
* @param userLikeMusic 【请填写功能名称】
|
|
* @return 【请填写功能名称】集合
|
|
*/
|
|
public List<UserLikeMusic> selectUserLikeMusicList(UserLikeMusic userLikeMusic);
|
|
|
|
/**
|
|
* 新增【请填写功能名称】
|
|
*
|
|
* @param userLikeMusic 【请填写功能名称】
|
|
* @return 结果
|
|
*/
|
|
public int insertUserLikeMusic(UserLikeMusic userLikeMusic);
|
|
|
|
/**
|
|
* 修改【请填写功能名称】
|
|
*
|
|
* @param userLikeMusic 【请填写功能名称】
|
|
* @return 结果
|
|
*/
|
|
public int updateUserLikeMusic(UserLikeMusic userLikeMusic);
|
|
|
|
/**
|
|
* 删除【请填写功能名称】
|
|
*
|
|
* @param id 【请填写功能名称】主键
|
|
* @return 结果
|
|
*/
|
|
public int deleteUserLikeMusicById(String id);
|
|
|
|
/**
|
|
* 批量删除【请填写功能名称】
|
|
*
|
|
* @param ids 需要删除的数据主键集合
|
|
* @return 结果
|
|
*/
|
|
public int deleteUserLikeMusicByIds(String[] ids);
|
|
|
|
UserLikeMusic selectUserLikeMusicAndUserId(@Param("userId") Long userId,@Param("musicId") String musicId);
|
|
}
|