package com.njcn.advance.service.assess;

import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.advance.pojo.param.assess.AssessCapacitorParamQuery;
import com.njcn.advance.pojo.po.assess.AssessCapacitorParam;

import java.util.List;

/**
 * <p>
 * 评估电容器参数 服务接口
 * </p>
 *
 * @author cdf
 * @since 2025-06-06
 */
public interface IAssessCapacitorParamService extends IService<AssessCapacitorParam> {

    /**
     * 根据电容器组ID查询详情
     */
    AssessCapacitorParam getByCapacitorId(String capacitorId);

    /**
     * 根据评估用户ID查询电容器参数列表
     */
    List<AssessCapacitorParam> listByAssessId(String assessId);

    /**
     * 新增评估电容器参数
     */
    boolean add(AssessCapacitorParamQuery param);

    /**
     * 更新评估电容器参数
     */
    void update(AssessCapacitorParamQuery.UpdateAssessCapacitorParamQuery updateQuery);
}