package com.rrtx.services.db.service;

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

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: ISuspectedPowerFailureService<br>
 * Description: SuspectedPowerFailureService接口 <br>
 * Company: rrtx
 *
 * @author zhangzz
 * @version v1.0.0    2021-02-02  zhangzz    由Generator自动创建
 */
public interface ISuspectedPowerFailureService extends IService<SuspectedPowerFailure> {
    /**
     * 查询（分页）
     *
     * @param request QueryRequest
     * @param wrapper LambdaQueryWrapper<SuspectedPowerFailure>
     * @return IPage<SuspectedPowerFailure>
     */
    IPage<SuspectedPowerFailure> findSuspectedPowerFailures(QueryRequest request, LambdaQueryWrapper<SuspectedPowerFailure> wrapper);

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

    /**
     * 新增
     *
     * @param suspectedPowerFailure suspectedPowerFailure
     */
    void createSuspectedPowerFailure(SuspectedPowerFailure suspectedPowerFailure);

    /**
     * 修改
     *
     * @param suspectedPowerFailure suspectedPowerFailure
     */
    void updateSuspectedPowerFailure(SuspectedPowerFailure suspectedPowerFailure);

    /**
     * 删除
     *
     * @param wrapper LambdaQueryWrapper<SuspectedPowerFailure>
     */
    void deleteSuspectedPowerFailure(LambdaQueryWrapper<SuspectedPowerFailure> wrapper);
}
