package com.ruoyi.system.mapper; import java.util.List; import com.ruoyi.system.domain.BaseExchangeRate; /** * 基础资料汇率管理Mapper接口 * * @author 刘晓旭 * @date 2024-10-29 */ public interface BaseExchangeRateMapper { /** * 查询基础资料汇率管理 * * @param exchangeRateId 基础资料汇率管理ID * @return 基础资料汇率管理 */ public BaseExchangeRate selectBaseExchangeRateById(Long exchangeRateId); /** * 查询基础资料汇率管理列表 * * @param baseExchangeRate 基础资料汇率管理 * @return 基础资料汇率管理集合 */ public List selectBaseExchangeRateList(BaseExchangeRate baseExchangeRate); /** * 查询所有基础资料汇率管理列表 * * @return 基础资料汇率管理集合 */ public List selectAllBaseExchangeRate(); /** * 查询时间交叉 * * @param baseExchangeRate 基础资料汇率管理 * @return 基础资料汇率管理集合 */ public List selectExchangeRateByTimeRange(BaseExchangeRate baseExchangeRate); /** * 查询时间交叉,并且排除当前id * * @param baseExchangeRate 基础资料汇率管理 * @return 基础资料汇率管理集合 */ List selectExchangeRateByTimeRangeAndExcludeId(BaseExchangeRate baseExchangeRate); /** * 新增基础资料汇率管理 * * @param baseExchangeRate 基础资料汇率管理 * @return 结果 */ public int insertBaseExchangeRate(BaseExchangeRate baseExchangeRate); /** * 修改基础资料汇率管理 * * @param baseExchangeRate 基础资料汇率管理 * @return 结果 */ public int updateBaseExchangeRate(BaseExchangeRate baseExchangeRate); /** * 删除基础资料汇率管理 * * @param exchangeRateId 基础资料汇率管理ID * @return 结果 */ public int deleteBaseExchangeRateById(Long exchangeRateId); /** * 批量删除基础资料汇率管理 * * @param exchangeRateIds 需要删除的数据ID * @return 结果 */ public int deleteBaseExchangeRateByIds(String[] exchangeRateIds); /** * 作废基础资料汇率管理 * * @param exchangeRateId 基础资料汇率管理ID * @return 结果 */ public int cancelBaseExchangeRateById(Long exchangeRateId); /** * 恢复基础资料汇率管理 * * @param exchangeRateId 基础资料汇率管理ID * @return 结果 */ public int restoreBaseExchangeRateById(Long exchangeRateId); }