package com.red.circle.game.fruit.infrastructure.database.repository;


import com.red.circle.framework.dto.PageResult;
import com.red.circle.framework.mybatis.service.BaseService;
import com.red.circle.game.fruit.application.dto.clientobject.GameFruitTaskAwardConfigCO;
import com.red.circle.game.fruit.infrastructure.database.entity.GameFruitTaskAwardConfig;
import com.red.circle.game.fruit.inner.model.cmd.GameFruitTaskConfigQryCmd;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 摩天轮游戏任务奖项配置 服务类.
 * </p>
 *
 * @author zongpubin on 2023-12-13 17:12
 */
public interface GameFruitTaskAwardConfigService extends BaseService<GameFruitTaskAwardConfig> {

  PageResult<GameFruitTaskAwardConfig> getGameFruitTaskConfig(GameFruitTaskConfigQryCmd query);

  Map<Long, List<GameFruitTaskAwardConfigCO>> mapTaskAwardConfigs(String originSys, Long userId);

  GameFruitTaskAwardConfig getByTaskType(String name);
}
