package com.hdkj.lt.mq.mapper.fault;

import com.hdkj.lt.core.bizms.modle.po.fault.FaultTransferSchemeOppositeLineLoadFactor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.math.BigDecimal;

/**
 * @Description
 * @Author wcx
 * @Date 2025/5/24 17:46
 * @Version 1.0
 */
@Mapper
public interface FaultSchemeOppositeLineLoadFactorMapper extends BaseMapper<FaultTransferSchemeOppositeLineLoadFactor> {

    @Select("select max(load_factor) from fhzg_fault_transfer_scheme_opposite_line_load_factor t where t.scheme_id =#{schemeId}")
    BigDecimal getMaxOppositeLineLoadFactorBySchemeId(@Param("schemeId") Long schemeId);
}
