package com.smartor.mapper; import com.smartor.domain.SvyTaskTemplateTargetoption; import org.apache.ibatis.annotations.Mapper; import java.util.List; /** * 问卷任务模板指标选项库Mapper接口 * * @author ruoyi * @date 2024-06-19 */ @Mapper public interface SvyTaskTemplateTargetoptionMapper { /** * 查询问卷任务模板指标选项库 * * @param id 问卷任务模板指标选项库主键 * @return 问卷任务模板指标选项库 */ public SvyTaskTemplateTargetoption selectSvyTaskTemplateTargetoptionById(Long id); /** * 查询问卷任务模板指标选项库列表 * * @param svyTaskTemplateTargetoption 问卷任务模板指标选项库 * @return 问卷任务模板指标选项库集合 */ public List selectSvyTaskTemplateTargetoptionList(SvyTaskTemplateTargetoption svyTaskTemplateTargetoption); /** * 新增问卷任务模板指标选项库 * * @param svyTaskTemplateTargetoption 问卷任务模板指标选项库 * @return 结果 */ public int insertSvyTaskTemplateTargetoption(SvyTaskTemplateTargetoption svyTaskTemplateTargetoption); /** * 修改问卷任务模板指标选项库 * * @param svyTaskTemplateTargetoption 问卷任务模板指标选项库 * @return 结果 */ public int updateSvyTaskTemplateTargetoption(SvyTaskTemplateTargetoption svyTaskTemplateTargetoption); /** * 删除问卷任务模板指标选项库 * * @param id 问卷任务模板指标选项库主键 * @return 结果 */ public int deleteSvyTaskTemplateTargetoptionById(Long id); /** * 批量删除问卷任务模板指标选项库 * * @param ids 需要删除的数据主键集合 * @return 结果 */ public int deleteSvyTaskTemplateTargetoptionByIds(Long[] ids); }