59 lines
1.4 KiB
Java
59 lines
1.4 KiB
Java
package com.klp.ems.service;
|
|
|
|
import com.klp.ems.domain.vo.EmsRateTimePeriodLinkVo;
|
|
import com.klp.ems.domain.bo.EmsRateTimePeriodLinkBo;
|
|
import com.klp.common.core.page.TableDataInfo;
|
|
import com.klp.common.core.domain.PageQuery;
|
|
|
|
import java.util.Collection;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 费率与时间段关联Service接口
|
|
*
|
|
* @author Joshi
|
|
* @date 2025-12-05
|
|
*/
|
|
public interface IEmsRateTimePeriodLinkService {
|
|
|
|
/**
|
|
* 查询费率与时间段关联
|
|
*/
|
|
EmsRateTimePeriodLinkVo queryById(Long linkId);
|
|
|
|
/**
|
|
* 查询费率与时间段关联列表
|
|
*/
|
|
TableDataInfo<EmsRateTimePeriodLinkVo> queryPageList(EmsRateTimePeriodLinkBo bo, PageQuery pageQuery);
|
|
|
|
/**
|
|
* 查询费率与时间段关联列表
|
|
*/
|
|
List<EmsRateTimePeriodLinkVo> queryList(EmsRateTimePeriodLinkBo bo);
|
|
|
|
/**
|
|
* 根据费率ID查询峰谷时段费率列表
|
|
*/
|
|
List<EmsRateTimePeriodLinkVo> queryByRateId(Long energyRateId);
|
|
|
|
/**
|
|
* 新增费率与时间段关联
|
|
*/
|
|
Boolean insertByBo(EmsRateTimePeriodLinkBo bo);
|
|
|
|
/**
|
|
* 修改费率与时间段关联
|
|
*/
|
|
Boolean updateByBo(EmsRateTimePeriodLinkBo bo);
|
|
|
|
/**
|
|
* 删除费率与时间段关联
|
|
*/
|
|
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
|
|
|
|
/**
|
|
* 根据费率ID删除所有关联
|
|
*/
|
|
Boolean deleteByRateId(Long energyRateId);
|
|
}
|