package com.hxhq.business.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.hxhq.business.domain.Step;
import com.hxhq.business.domain.Template;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 模板Mapper接口
 *
 * @author hxhq
 * @date 2025-12-23
 */
public interface TemplateMapper extends BaseMapper<Template>
{
    /**
     * 获取列表
     * @param queryWrapper
     * @return
     */
    List<Template> queryList(@Param("ew") Wrapper<Template> queryWrapper);

    /**
     * 根据步骤库ids获取步骤列表
     * @param stepGroupIds
     * @return
     */
    List<Step> getStepListByTemplateStepGroupIds(String stepGroupIds);
}
