68 lines
1.5 KiB
Java
68 lines
1.5 KiB
Java
package com.ruoyi.system.mapper;
|
|
|
|
import java.util.List;
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import com.ruoyi.system.domain.DmPlayerConfig;
|
|
import com.ruoyi.system.domain.DmPlayerConfigPlus;
|
|
|
|
/**
|
|
* 玩家配置Mapper接口
|
|
*
|
|
* @author luqj
|
|
* @date 2026-05-10
|
|
*/
|
|
public interface DmPlayerConfigMapper extends BaseMapper<DmPlayerConfigPlus>
|
|
{
|
|
/**
|
|
* 查询玩家配置
|
|
*
|
|
* @param id 玩家配置ID
|
|
* @return 玩家配置
|
|
*/
|
|
public DmPlayerConfig selectDmPlayerConfigById(Long id);
|
|
|
|
|
|
public DmPlayerConfig selectDmPlayerConfigByPlayerId(Long playerId);
|
|
/**
|
|
* 查询玩家配置列表
|
|
*
|
|
* @param dmPlayerConfig 玩家配置
|
|
* @return 玩家配置集合
|
|
*/
|
|
public List<DmPlayerConfig> selectDmPlayerConfigList(DmPlayerConfig dmPlayerConfig);
|
|
|
|
/**
|
|
* 新增玩家配置
|
|
*
|
|
* @param dmPlayerConfig 玩家配置
|
|
* @return 结果
|
|
*/
|
|
public int insertDmPlayerConfig(DmPlayerConfig dmPlayerConfig);
|
|
|
|
/**
|
|
* 修改玩家配置
|
|
*
|
|
* @param dmPlayerConfig 玩家配置
|
|
* @return 结果
|
|
*/
|
|
public int updateDmPlayerConfig(DmPlayerConfig dmPlayerConfig);
|
|
|
|
/**
|
|
* 删除玩家配置
|
|
*
|
|
* @param id 玩家配置ID
|
|
* @return 结果
|
|
*/
|
|
public int deleteDmPlayerConfigById(Long id);
|
|
|
|
/**
|
|
* 批量删除玩家配置
|
|
*
|
|
* @param ids 需要删除的数据ID
|
|
* @return 结果
|
|
*/
|
|
public int deleteDmPlayerConfigByIds(Long[] ids);
|
|
}
|