package com.test.test.mapper;

import com.test.test.domain.UiAutomation;
import com.test.test.domain.qo.UiAutomationQO;

import java.util.List;

/**
 * ui自动化Mapper接口
 * 
 * @author test
 * @date 2025-04-22
 */
public interface UiAutomationMapper 
{
    /**
     * 查询ui自动化
     * 
     * @param id ui自动化主键
     * @return ui自动化
     */
    public UiAutomation selectUiAutomationById(Long id);

    /**
     * 查询ui自动化列表
     * 
     * @param uiAutomation ui自动化
     * @return ui自动化集合
     */
    public List<UiAutomation> selectUiAutomationList(UiAutomation uiAutomation);

    /**
     * 查询ui自动化列表
     * @param uiAutomation
     * @return
     */
    public List<UiAutomation> selectUiAutomationListNew(UiAutomationQO uiAutomation);

    /**
     * 新增ui自动化
     * 
     * @param uiAutomation ui自动化
     * @return 结果
     */
    public int insertUiAutomation(UiAutomation uiAutomation);

    /**
     * 修改ui自动化
     * 
     * @param uiAutomation ui自动化
     * @return 结果
     */
    public int updateUiAutomation(UiAutomation uiAutomation);

    /**
     * 删除ui自动化
     * 
     * @param id ui自动化主键
     * @return 结果
     */
    public int deleteUiAutomationById(Long id);

    /**
     * 批量删除ui自动化
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteUiAutomationByIds(Long[] ids);

    /**
     * 批量删除
     * @param ids
     * @return
     */
    int deleteUiAutomationByGroupIds(List<Long> ids);
}
