2025-09-28 09:54:42 +08:00
|
|
|
|
package com.klp.ems.mapper;
|
|
|
|
|
|
|
|
|
|
|
|
import com.klp.ems.domain.EmsEnergyRate;
|
|
|
|
|
|
import com.klp.ems.domain.vo.EmsEnergyRateVo;
|
|
|
|
|
|
import com.klp.common.core.mapper.BaseMapperPlus;
|
2025-12-07 17:23:47 +08:00
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
|
|
|
|
|
|
import java.time.LocalDate;
|
2025-09-28 09:54:42 +08:00
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 能源费率(currency 为 INT:0=CNY,1=USD,2=EUR)Mapper接口
|
|
|
|
|
|
*
|
|
|
|
|
|
* @author Joshi
|
|
|
|
|
|
* @date 2025-09-28
|
|
|
|
|
|
*/
|
|
|
|
|
|
public interface EmsEnergyRateMapper extends BaseMapperPlus<EmsEnergyRateMapper, EmsEnergyRate, EmsEnergyRateVo> {
|
|
|
|
|
|
|
2025-12-07 17:23:47 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 按能源类型与日期获取生效费率。
|
|
|
|
|
|
*/
|
|
|
|
|
|
EmsEnergyRate selectEffectiveRate(@Param("energyTypeId") Long energyTypeId,
|
|
|
|
|
|
@Param("calcDate") LocalDate calcDate);
|
2025-09-28 09:54:42 +08:00
|
|
|
|
}
|