27 lines
609 B
Java
27 lines
609 B
Java
package com.klp.ems.mapper;
|
|
|
|
import com.klp.ems.domain.EmsRateTier;
|
|
import com.klp.ems.domain.vo.EmsRateTierVo;
|
|
import com.klp.common.core.mapper.BaseMapperPlus;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 梯度费率Mapper接口
|
|
*
|
|
* @author Joshi
|
|
* @date 2025-12-05
|
|
*/
|
|
public interface EmsRateTierMapper extends BaseMapperPlus<EmsRateTierMapper, EmsRateTier, EmsRateTierVo> {
|
|
|
|
/**
|
|
* 根据费率ID查询梯度费率列表
|
|
*/
|
|
List<EmsRateTierVo> selectByRateId(Long energyRateId);
|
|
|
|
/**
|
|
* 物理删除指定费率的所有梯度
|
|
*/
|
|
int deleteByRateIdPhysical(Long energyRateId);
|
|
}
|