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


import com.red.circle.framework.mybatis.service.BaseService;
import com.red.circle.game.fruit.infrastructure.database.entity.GameFruitUserTaskReceive;
import java.util.Map;
import java.util.Set;

/**
 * <p>
 * 摩天轮游戏任务领取用户 服务类.
 * </p>
 *
 * @author zongpubin on 2023-12-15 15:05
 */
public interface GameFruitUserTaskReceiveService extends BaseService<GameFruitUserTaskReceive> {

  Map<Long, GameFruitUserTaskReceive> getByUserIdAndAwardId(Long userId, Set<Long> awardIds);

  Set<Long> getReceiveUsers(String originSys);

  GameFruitUserTaskReceive checkReceive(Long awardId, Long userId, Integer receiveDate);
}
