package com.sqx.modules.taskCenter.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sqx.modules.taskCenter.entity.TaskCenterReward;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
public interface TaskCenterRewardDao extends BaseMapper<TaskCenterReward> {

    @Select("SELECT type,number FROM `task_center_reward` where task_id = #{taskId}")
    List<TaskCenterReward> getRewardMap(Long taskId);

}

