package doumeemes.service.business;
|
|
import doumeemes.core.model.PageData;
|
import doumeemes.core.model.PageWrap;
|
import doumeemes.dao.business.model.CompanyAuth;
|
import java.util.List;
|
|
/**
|
* 实名认证记录表Service定义
|
* @author 江蹄蹄
|
* @date 2022/04/20 09:33
|
*/
|
public interface CompanyAuthService {
|
|
/**
|
* 创建
|
*
|
* @param companyAuth 实体对象
|
* @return Integer
|
*/
|
Integer create(CompanyAuth companyAuth);
|
|
/**
|
* 主键删除
|
*
|
* @param id 主键
|
*/
|
void deleteById(Integer id);
|
|
/**
|
* 删除
|
*
|
* @param companyAuth 实体对象
|
*/
|
void delete(CompanyAuth companyAuth);
|
|
/**
|
* 批量主键删除
|
*
|
* @param ids 主键集
|
*/
|
void deleteByIdInBatch(List<Integer> ids);
|
|
/**
|
* 主键更新
|
*
|
* @param companyAuth 实体对象
|
*/
|
void updateById(CompanyAuth companyAuth);
|
|
/**
|
* 批量主键更新
|
*
|
* @param companyAuths 实体集
|
*/
|
void updateByIdInBatch(List<CompanyAuth> companyAuths);
|
|
/**
|
* 主键查询
|
*
|
* @param id 主键
|
* @return CompanyAuth
|
*/
|
CompanyAuth findById(Integer id);
|
|
/**
|
* 条件查询单条记录
|
*
|
* @param companyAuth 实体对象
|
* @return CompanyAuth
|
*/
|
CompanyAuth findOne(CompanyAuth companyAuth);
|
|
/**
|
* 条件查询
|
*
|
* @param companyAuth 实体对象
|
* @return List<CompanyAuth>
|
*/
|
List<CompanyAuth> findList(CompanyAuth companyAuth);
|
|
/**
|
* 分页查询
|
*
|
* @param pageWrap 分页对象
|
* @return PageData<CompanyAuth>
|
*/
|
PageData<CompanyAuth> findPage(PageWrap<CompanyAuth> pageWrap);
|
|
/**
|
* 条件统计
|
*
|
* @param companyAuth 实体对象
|
* @return long
|
*/
|
long count(CompanyAuth companyAuth);
|
}
|