package com.rrtx.services.db.service;

import com.rrtx.services.db.entity.PowerOverInfo;

import com.rrtx.fap.starter.mybatis.plus.entity.QueryRequest;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;



import java.util.List;

/**
 * ClassName: IPowerOverInfoService<br>
 * Description: PowerOverInfoService接口 <br>
 * Company: rrtx
 *
 * @author zhangzz
 * @version v1.0.0    2021-02-02  zhangzz    由Generator自动创建
 */
public interface IPowerOverInfoService extends IService<PowerOverInfo> {
    /**
     * 查询（分页）
     *
     * @param request QueryRequest
     * @param wrapper LambdaQueryWrapper<PowerOverInfo>
     * @return IPage<PowerOverInfo>
     */
    IPage<PowerOverInfo> findPowerOverInfos(QueryRequest request, LambdaQueryWrapper<PowerOverInfo> wrapper);

    /**
     * 查询（所有）
     *
     * @param wrapper LambdaQueryWrapper<PowerOverInfo>
     * @return List<PowerOverInfo>
     */
    List<PowerOverInfo> findPowerOverInfos(LambdaQueryWrapper<PowerOverInfo> wrapper);

    /**
     * 新增
     *
     * @param powerOverInfo powerOverInfo
     */
    void createPowerOverInfo(PowerOverInfo powerOverInfo);

    /**
     * 修改
     *
     * @param powerOverInfo powerOverInfo
     */
    void updatePowerOverInfo(PowerOverInfo powerOverInfo);

    /**
     * 删除
     *
     * @param wrapper LambdaQueryWrapper<PowerOverInfo>
     */
    void deletePowerOverInfo(LambdaQueryWrapper<PowerOverInfo> wrapper);
}
