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.pms.pojo.param.PowerDistributionareaParam;
import com.njcn.device.pms.pojo.param.PowerGenerationUserParam;
import com.njcn.device.pms.pojo.param.TaiZhangParam;
import com.njcn.device.pms.pojo.po.PowerGenerationUser;
import com.njcn.device.pms.pojo.vo.PowerGenerationUserVO;
import com.njcn.device.pq.pojo.po.jb.DistributionArea;
import com.njcn.device.pq.pojo.po.jb.GenerationUser;
import com.njcn.web.pojo.param.BaseParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hongawen
 * @since 2022-10-14
 */
public interface IPowerGenerationUserService extends IService<GenerationUser> {

    /**
     * 新增发电用户
     * @author cdf
     * @date 2022/10/25
     * @param powerGenerationUserParam 发电用户
     * @return boolean
     */
    boolean addPowerGenerationUser(PowerGenerationUserParam powerGenerationUserParam);

    /**
     * 修改发电用户
     * @author cdf
     * @date 2022/10/25
     * @param powerGenerationUserParam 发电用户
     * @return boolean
     */
    boolean updatePowerGenerationUser(PowerGenerationUserParam powerGenerationUserParam);

    /**
     * 删除发电用户
     * @author cdf
     * @date 2022/10/25
     * @param powerGenerationUserIds 发电用户
     * @return boolean
     */
    boolean delPowerGenerationUser(List<String> powerGenerationUserIds);

    /**
     * 分页查询发电用户列表
     * @author cdf
     * @date 2022/10/25
     * @param baseParam 基础参数
     * @return boolean
     */
    Page<GenerationUser> getPowerGenerationUserPageList(BaseParam baseParam);


}
