package com.zhongzheng.modules.activity.mapper;

import com.zhongzheng.modules.activity.bo.ActivityTaskUserAddBo;
import com.zhongzheng.modules.activity.domain.ActivityTaskTime;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhongzheng.modules.activity.vo.ActivityTaskTimeVo;

/**
 * 模拟考试分数给予积分关联Mapper接口
 *
 * @author change
 * @date 2021-05-20
 */
public interface ActivityTaskTimeMapper extends BaseMapper<ActivityTaskTime> {

    /**
     * 添加考试范围时间段
     *
     * @param toBean 时间范围分数
     *
     */
    void inserTaskTime(ActivityTaskTime toBean);


    /**
     * 查询积分分数
     *
     * @param bo 时间范围分数
     *
     */
    ActivityTaskTimeVo queryPractice(ActivityTaskUserAddBo bo);
}
