package jnpf.cultivate.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import jnpf.model.cultivate.dto.learn.BatchCommonCountDto;
import jnpf.model.cultivate.po.task.FtbCultivateLearnTaskPhase;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Title: 学习任务阶段表
 * @Author:
 * @create: 2025-01-14
 */
public interface FtbCultivateLearnTaskPhaseMapper extends BaseMapper<FtbCultivateLearnTaskPhase> {
    /**
     * 批量查询统计任务的阶段数量
     * @param taskIds 任务id
     * @return
     */
    List<BatchCommonCountDto> groupCountNum(@Param("taskIds") List<String> taskIds);

}