package com.ruoyi.cs.service;

import java.util.List;
import com.ruoyi.cs.domain.CsRenewalRecord;

/**
 * 续期记录Service接口
 * 
 * @author ruoyi
 * @date 2024-05-29
 */
public interface ICsRenewalRecordService 
{
    /**
     * 查询续期记录
     * 
     * @param renewalRecordId 续期记录主键
     * @return 续期记录
     */
    public CsRenewalRecord selectCsRenewalRecordByRenewalRecordId(String renewalRecordId);

    /**
     * 查询续期记录列表
     * 
     * @param csRenewalRecord 续期记录
     * @return 续期记录集合
     */
    public List<CsRenewalRecord> selectCsRenewalRecordList(CsRenewalRecord csRenewalRecord);

    /**
     * 新增续期记录
     * 
     * @param csRenewalRecord 续期记录
     * @return 结果
     */
    public int insertCsRenewalRecord(CsRenewalRecord csRenewalRecord);

    /**
     * 修改续期记录
     * 
     * @param csRenewalRecord 续期记录
     * @return 结果
     */
    public int updateCsRenewalRecord(CsRenewalRecord csRenewalRecord);

    /**
     * 批量删除续期记录
     * 
     * @param renewalRecordIds 需要删除的续期记录主键集合
     * @return 结果
     */
    public int deleteCsRenewalRecordByRenewalRecordIds(String[] renewalRecordIds);

    /**
     * 删除续期记录信息
     * 
     * @param renewalRecordId 续期记录主键
     * @return 结果
     */
    public int deleteCsRenewalRecordByRenewalRecordId(String renewalRecordId);

    /**
     * 查询到期的续期记录列表
     *
     * @return
     */
    List<CsRenewalRecord> searchRenewalRecordList();

}
