package doumeemes.service.business;
|
|
import doumeemes.core.model.PageData;
|
import doumeemes.core.model.PageWrap;
|
import doumeemes.dao.business.model.CompanyLog;
|
|
import java.util.List;
|
|
/**
|
* 企业信息变更记录Service定义
|
* @author 江蹄蹄
|
* @since 2023/06/15 13:49
|
*/
|
public interface CompanyLogService {
|
|
/**
|
* 创建
|
*
|
* @param companyLog 实体对象
|
* @return Integer
|
*/
|
Integer create(CompanyLog companyLog);
|
|
/**
|
* 主键删除
|
*
|
* @param id 主键
|
*/
|
void deleteById(Integer id);
|
|
/**
|
* 删除
|
*
|
* @param companyLog 实体对象
|
*/
|
void delete(CompanyLog companyLog);
|
|
/**
|
* 批量主键删除
|
*
|
* @param ids 主键集
|
*/
|
void deleteByIdInBatch(List<Integer> ids);
|
|
/**
|
* 主键更新
|
*
|
* @param companyLog 实体对象
|
*/
|
void updateById(CompanyLog companyLog);
|
|
/**
|
* 批量主键更新
|
*
|
* @param companyLogs 实体集
|
*/
|
void updateByIdInBatch(List<CompanyLog> companyLogs);
|
|
/**
|
* 主键查询
|
*
|
* @param id 主键
|
* @return CompanyLog
|
*/
|
CompanyLog findById(Integer id);
|
|
/**
|
* 条件查询单条记录
|
*
|
* @param companyLog 实体对象
|
* @return CompanyLog
|
*/
|
CompanyLog findOne(CompanyLog companyLog);
|
|
/**
|
* 条件查询
|
*
|
* @param companyLog 实体对象
|
* @return List<CompanyLog>
|
*/
|
List<CompanyLog> findList(CompanyLog companyLog);
|
|
/**
|
* 分页查询
|
*
|
* @param pageWrap 分页对象
|
* @return PageData<CompanyLog>
|
*/
|
PageData<CompanyLog> findPage(PageWrap<CompanyLog> pageWrap);
|
|
|
/**
|
* 分页查询
|
*
|
* @param pageWrap 分页对象
|
* @return PageData<CompanyLog>
|
*/
|
PageData<CompanyLog> findCompanyLogPage(PageWrap<CompanyLog> pageWrap);
|
|
/**
|
* 条件统计
|
*
|
* @param companyLog 实体对象
|
* @return long
|
*/
|
long count(CompanyLog companyLog);
|
}
|