package com.ktg.iscs.mapper;

import com.ktg.common.mapper.BaseMapperX;
import com.ktg.iscs.domain.IsSopPoints;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * SOP隔离点Mapper接口
 *
 * @author cgj
 * @date 2024-10-18
 */
@Mapper
public interface IsSopPointsMapper extends BaseMapperX<IsSopPoints>
{
    /**
     * 查询SOP隔离点
     *
     * @param recordId SOP隔离点主键
     * @return SOP隔离点
     */
    IsSopPoints selectIsSopPointsByRecordId(Long recordId);

    /**
     * 查询SOP隔离点列表
     *
     * @param isSopPoints SOP隔离点
     * @return SOP隔离点集合
     */
    List<IsSopPoints> selectIsSopPointsList(IsSopPoints isSopPoints);

    /**
     * 新增SOP隔离点
     *
     * @param isSopPoints SOP隔离点
     * @return 结果
     */
    int insertIsSopPoints(IsSopPoints isSopPoints);

    /**
     * 修改SOP隔离点
     *
     * @param isSopPoints SOP隔离点
     * @return 结果
     */
    int updateIsSopPoints(IsSopPoints isSopPoints);

    /**
     * 删除SOP隔离点
     *
     * @param recordId SOP隔离点主键
     * @return 结果
     */
    int deleteIsSopPointsByRecordId(Long recordId);

    /**
     * 批量删除SOP隔离点
     *
     * @param recordIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteIsSopPointsByRecordIds(Long[] recordIds);
}
