90 lines
2.5 KiB
Java
90 lines
2.5 KiB
Java
package com.ruoyi.system.service;
|
|
import java.util.Map;
|
|
import java.util.List;
|
|
import com.ruoyi.system.domain.DmPlayerTaskGroup;
|
|
import com.ruoyi.system.domain.DmPlayerTaskGroupPlus;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.baomidou.mybatisplus.core.toolkit.support.SFunction;
|
|
import com.ruoyi.common.select.SelectItem;
|
|
/**
|
|
* 大漠任务组Service接口
|
|
*
|
|
* @author luqj
|
|
* @date 2026-05-14
|
|
*/
|
|
public interface IDmPlayerTaskGroupService extends IService<DmPlayerTaskGroupPlus>
|
|
{
|
|
|
|
List<SelectItem> select(String keyword);
|
|
/**
|
|
* 查询大漠任务组
|
|
*
|
|
* @param id 大漠任务组ID
|
|
* @return 大漠任务组
|
|
*/
|
|
public DmPlayerTaskGroup selectDmPlayerTaskGroupById(Long id);
|
|
|
|
/**
|
|
* 查询大漠任务组列表
|
|
*
|
|
* @param dmPlayerTaskGroup 大漠任务组
|
|
* @return 大漠任务组集合
|
|
*/
|
|
public List<DmPlayerTaskGroup> selectDmPlayerTaskGroupList(DmPlayerTaskGroup dmPlayerTaskGroup);
|
|
|
|
/**
|
|
* 新增大漠任务组
|
|
*
|
|
* @param dmPlayerTaskGroup 大漠任务组
|
|
* @return 结果
|
|
*/
|
|
public int insertDmPlayerTaskGroup(DmPlayerTaskGroup dmPlayerTaskGroup);
|
|
|
|
/**
|
|
* 修改大漠任务组
|
|
*
|
|
* @param dmPlayerTaskGroup 大漠任务组
|
|
* @return 结果
|
|
*/
|
|
public int updateDmPlayerTaskGroup(DmPlayerTaskGroup dmPlayerTaskGroup);
|
|
|
|
/**
|
|
* 批量删除大漠任务组
|
|
*
|
|
* @param ids 需要删除的大漠任务组ID
|
|
* @return 结果
|
|
*/
|
|
public int deleteDmPlayerTaskGroupByIds(Long[] ids);
|
|
|
|
/**
|
|
* 删除大漠任务组信息
|
|
*
|
|
* @param id 大漠任务组ID
|
|
* @return 结果
|
|
*/
|
|
public int deleteDmPlayerTaskGroupById(Long id);
|
|
|
|
List<DmPlayerTaskGroupPlus> getByIds(List<Long> ids, SFunction<DmPlayerTaskGroupPlus, ?>... columns);
|
|
|
|
DmPlayerTaskGroupPlus getById(Long id, SFunction<DmPlayerTaskGroupPlus, ?>... columns);
|
|
|
|
Map<Long, DmPlayerTaskGroupPlus> getMapByIds(List<Long> ids, SFunction<DmPlayerTaskGroupPlus, ?>... columns);
|
|
|
|
List<DmPlayerTaskGroupPlus> getByIds(List<Long> ids);
|
|
|
|
Map<Long, DmPlayerTaskGroupPlus> getMapByIds(List<Long> ids);
|
|
|
|
/**
|
|
* @param field sum 字段
|
|
* @param where 条件
|
|
* @param tClass 返回类型
|
|
* @param <T>
|
|
* @return
|
|
*/
|
|
<T> T sum(String field, String where, Class<T> tClass);
|
|
|
|
Long count(String where);
|
|
|
|
<T> List<T> countByGroupBy(String select, String where, String groupby, Class<T> tClass);
|
|
}
|