package com.njcn.device.pms.service.majornetwork;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.device.pms.pojo.param.MonitorAuditParam;
import com.njcn.device.pms.pojo.param.MonitorStatus;
import com.njcn.device.pms.pojo.param.TransformerParam;
import com.njcn.device.pms.pojo.po.Transformer;

import java.util.List;

/**
 * <p>
 * 变压器台账 服务类
 * </p>
 *
 * @author wr
 * @since 2023-02-20
 */
public interface ITransformerService extends IService<Transformer> {

    /**
     * 分页获取变压器台账
     *
     * @param baseParam
     * @return
     */
    Page<Transformer> getAllTransformerList(MonitorAuditParam baseParam);

    /***
     * 添加变压器台账
     * @author wr
     * @date 2023-02-22 15:39
     * @param param
     * @return boolean
     */
    boolean addTransformer(TransformerParam param);

    /***
     * 修改变压器台账
     * @author wr
     * @date 2023-02-22 15:48
     * @param param
     * @return boolean
     */
    boolean updateTransformer(TransformerParam param);

    /***
     * 删除变压器信息
     * @author wr
     * @date 2023-02-23 17:21
     * @param ids
     * @return boolean
     */
    boolean delTransformer(List<String> ids);

    /***
     * 修改变压器台账数据状态
     * @author wr
     * @date 2023-03-24 15:01
     * @param monitorParam
     * @return boolean
     */
    boolean updateStatus(MonitorStatus.Status monitorParam);
}
