package com.doumee.service.business;
|
|
import com.doumee.core.model.PageData;
|
import com.doumee.core.model.PageWrap;
|
import com.doumee.dao.business.model.CustomerLog;
|
import java.util.List;
|
|
/**
|
* 客户留资记录信息表Service定义
|
* @author 江蹄蹄
|
* @date 2024/07/04 14:40
|
*/
|
public interface CustomerLogService {
|
|
/**
|
* 创建
|
*
|
* @param customerLog 实体对象
|
* @return Long
|
*/
|
Long create(CustomerLog customerLog);
|
|
/**
|
* 主键删除
|
*
|
* @param id 主键
|
*/
|
void deleteById(Long id);
|
|
/**
|
* 删除
|
*
|
* @param customerLog 实体对象
|
*/
|
void delete(CustomerLog customerLog);
|
|
/**
|
* 批量主键删除
|
*
|
* @param ids 主键集
|
*/
|
void deleteByIdInBatch(List<Long> ids);
|
|
/**
|
* 主键更新
|
*
|
* @param customerLog 实体对象
|
*/
|
void updateById(CustomerLog customerLog);
|
|
/**
|
* 批量主键更新
|
*
|
* @param customerLogs 实体集
|
*/
|
void updateByIdInBatch(List<CustomerLog> customerLogs);
|
void reSubmitAll(CustomerLog log);
|
/**
|
* 主键查询
|
*
|
* @param id 主键
|
* @return CustomerLog
|
*/
|
CustomerLog findById(Long id);
|
|
/**
|
* 条件查询单条记录
|
*
|
* @param customerLog 实体对象
|
* @return CustomerLog
|
*/
|
CustomerLog findOne(CustomerLog customerLog);
|
|
/**
|
* 条件查询
|
*
|
* @param customerLog 实体对象
|
* @return List<CustomerLog>
|
*/
|
List<CustomerLog> findList(CustomerLog customerLog);
|
|
/**
|
* 分页查询
|
*
|
* @param pageWrap 分页对象
|
* @return PageData<CustomerLog>
|
*/
|
PageData<CustomerLog> findPage(PageWrap<CustomerLog> pageWrap);
|
|
/**
|
* 条件统计
|
*
|
* @param customerLog 实体对象
|
* @return long
|
*/
|
long count(CustomerLog customerLog);
|
|
void reSubmit(CustomerLog customerLog);
|
}
|