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

import com.hdkj.lt.core.bizms.modle.po.plan.FhzgPlanTransferSchemeOppositeLineLoadFactor;
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 PlanSchemeOppositeLineLoadFactorMapper extends BaseMapper<FhzgPlanTransferSchemeOppositeLineLoadFactor> {

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