package com.njcn.device.pq.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.njcn.device.pq.pojo.param.TflgployParam;
import com.njcn.device.pq.pojo.po.PqsTflgploy;
import com.njcn.web.pojo.param.BaseParam;


/**
 * <p>
 * 服务类
 * </p>
 *
 * @author wr
 * @since 2023-07-19
 */
public interface IPqsTflgployService extends IService<PqsTflgploy> {

    /**
     * 分页查询变压器策略
     * @param param
     * @return
     */
    Page<PqsTflgploy> flgployPage(BaseParam param);

    /***
     * 新增变压器策略
     * @author wr
     * @param param
     * @return Boolean
     */
    Boolean insertFlgPloy(TflgployParam param) ;

    /***
     * 查询变压器详情变压器策略
     * @author wr
     * @param id 变压器策略编号
     * @return Boolean
     */
    TflgployParam.TflgployUpdateParam flgPloyInfo(String id);

    /***
     * 修改变压器策略
     * @author wr
     * @param param
     * @return Boolean
     */
    Boolean updateFlgPloy(TflgployParam.TflgployUpdateParam param);

    /***
     * 删除变压器策略
     * @author wr
     * @return Boolean
     */
    Boolean delFlgPloy(String ids);

}
