package com.bjtdba.userCenter.service;

import com.bjtdba.entity.userCenter.UserDisabledCertificate;

import java.util.List;

/**
 * 残疾认证表(UserDisabledCertificate)表服务接口
 *
 * @author 何海强
 * @since 2022-11-17 14:16:43
 */
public interface UserDisabledCertificateService {

    /**
     * 通过ID查询单条数据
     *
     * @param id 主键
     * @return 实例对象
     */
    UserDisabledCertificate queryById(Integer id);

    /**
     * 分页查询
     *
     * @param userDisabledCertificate 筛选条件
     * @return 查询结果
     */
//    Page<UserDisabledCertificate> queryByPage(UserDisabledCertificate userDisabledCertificate, PageRequest pageRequest);
    public List<UserDisabledCertificate> queryList(UserDisabledCertificate userDisabledCertificate);

    public long counts(UserDisabledCertificate userDisabledCertificate);

    /**
     * 新增数据
     *
     * @param userDisabledCertificate 实例对象
     * @return 实例对象
     */
    UserDisabledCertificate insert(UserDisabledCertificate userDisabledCertificate);

    /**
     * 修改数据
     *
     * @param userDisabledCertificate 实例对象
     * @return 实例对象
     */
    UserDisabledCertificate update(UserDisabledCertificate userDisabledCertificate);

    /**
     * 通过主键删除数据
     *
     * @param id 主键
     * @return 是否成功
     */
    boolean deleteById(Integer id);

}
