package com.srs.routine.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.srs.routine.domain.RtEnlistmentReserveApproval;

/**
 * 保留学籍审批记录Service接口
 *
 * @author srs
 * @date 2025-10-31
 */
public interface IRtEnlistmentReserveApprovalService extends IService<RtEnlistmentReserveApproval> {
    /**
     * 查询保留学籍审批记录
     *
     * @param id 保留学籍审批记录主键
     * @return 保留学籍审批记录
     */
    public RtEnlistmentReserveApproval selectRtEnlistmentReserveApprovalById(Long id);

    /**
     * 查询保留学籍审批记录列表
     *
     * @param rtEnlistmentReserveApproval 保留学籍审批记录
     * @return 保留学籍审批记录集合
     */
    List<RtEnlistmentReserveApproval> selectRtEnlistmentReserveApprovalList(RtEnlistmentReserveApproval rtEnlistmentReserveApproval);

    /**
     * 新增保留学籍审批记录
     *
     * @param rtEnlistmentReserveApproval 保留学籍审批记录
     * @return 结果
     */
    int insertRtEnlistmentReserveApproval(RtEnlistmentReserveApproval rtEnlistmentReserveApproval);

    /**
     * 修改保留学籍审批记录
     *
     * @param rtEnlistmentReserveApproval 保留学籍审批记录
     * @return 结果
     */
    int updateRtEnlistmentReserveApproval(RtEnlistmentReserveApproval rtEnlistmentReserveApproval);

    /**
     * 批量删除保留学籍审批记录
     *
     * @param ids 需要删除的保留学籍审批记录主键集合
     * @return 结果
     */
    int deleteRtEnlistmentReserveApprovalByIds(Long[] ids);

    /**
     * 删除保留学籍审批记录信息
     *
     * @param id 保留学籍审批记录主键
     * @return 结果
     */
    int deleteRtEnlistmentReserveApprovalById(Long id);

    int insertOrUpdateByStuAndApprover(RtEnlistmentReserveApproval rtEnlistmentReserveApproval);
}
