Files
klp-oa/klp-ems/src/main/java/com/klp/ems/mapper/EmsEnergyRateMapper.java

24 lines
703 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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;
import org.apache.ibatis.annotations.Param;
import java.time.LocalDate;
/**
* 能源费率currency 为 INT0=CNY,1=USD,2=EURMapper接口
*
* @author Joshi
* @date 2025-09-28
*/
public interface EmsEnergyRateMapper extends BaseMapperPlus<EmsEnergyRateMapper, EmsEnergyRate, EmsEnergyRateVo> {
/**
* 按能源类型与日期获取生效费率。
*/
EmsEnergyRate selectEffectiveRate(@Param("energyTypeId") Long energyTypeId,
@Param("calcDate") LocalDate calcDate);
}