package com.njcn.advance.service.assess;

import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.advance.pojo.param.assess.AssessWindLoadParamQuery;
import com.njcn.advance.pojo.po.assess.AssessWindLoadParam;

import java.util.List;

/**
 * <p>
 * 风电场类负荷参数 服务接口
 * </p>
 *
 * @author cdf
 * @since 2025-06-06
 */
public interface IAssessWindLoadParamService extends IService<AssessWindLoadParam> {

    /**
     * 根据风力发电机ID查询详情
     */
    AssessWindLoadParam getByWindgeneratorId(String windgeneratorId);

    /**
     * 根据评估用户ID查询负荷参数列表
     */
    List<AssessWindLoadParam> listByAssessId(String assessId);

    /**
     * 新增风电场类负荷参数
     */
    boolean add(AssessWindLoadParamQuery param);

    /**
     * 更新风电场类负荷参数
     */
    void update(AssessWindLoadParamQuery.UpdateAssessWindLoadParamQuery updateQuery);
}