package com.doumee.service.business; 
 | 
  
 | 
import com.doumee.dao.business.vo.VisitEventCountVO; 
 | 
import com.doumee.service.business.third.model.PageData; 
 | 
import com.doumee.service.business.third.model.PageWrap; 
 | 
import com.doumee.dao.business.model.VisitEvent; 
 | 
  
 | 
import java.util.List; 
 | 
  
 | 
/** 
 | 
 * 访客事件推送记录表Service定义 
 | 
 * @author 江蹄蹄 
 | 
 * @date 2023/11/30 15:33 
 | 
 */ 
 | 
public interface VisitEventService { 
 | 
  
 | 
    /** 
 | 
     * 创建 
 | 
     * 
 | 
     * @param visitEvent 实体对象 
 | 
     * @return Integer 
 | 
     */ 
 | 
    Integer create(VisitEvent visitEvent); 
 | 
  
 | 
    /** 
 | 
     * 主键删除 
 | 
     * 
 | 
     * @param id 主键 
 | 
     */ 
 | 
    void deleteById(Integer id); 
 | 
  
 | 
    /** 
 | 
     * 删除 
 | 
     * 
 | 
     * @param visitEvent 实体对象 
 | 
     */ 
 | 
    void delete(VisitEvent visitEvent); 
 | 
  
 | 
    /** 
 | 
     * 批量主键删除 
 | 
     * 
 | 
     * @param ids 主键集 
 | 
     */ 
 | 
    void deleteByIdInBatch(List<Integer> ids); 
 | 
  
 | 
    /** 
 | 
     * 主键更新 
 | 
     * 
 | 
     * @param visitEvent 实体对象 
 | 
     */ 
 | 
    void updateById(VisitEvent visitEvent); 
 | 
  
 | 
    /** 
 | 
     * 批量主键更新 
 | 
     * 
 | 
     * @param visitEvents 实体集 
 | 
     */ 
 | 
    void updateByIdInBatch(List<VisitEvent> visitEvents); 
 | 
  
 | 
    /** 
 | 
     * 主键查询 
 | 
     * 
 | 
     * @param id 主键 
 | 
     * @return VisitEvent 
 | 
     */ 
 | 
    VisitEvent findById(Integer id); 
 | 
  
 | 
    /** 
 | 
     * 条件查询单条记录 
 | 
     * 
 | 
     * @param visitEvent 实体对象 
 | 
     * @return VisitEvent 
 | 
     */ 
 | 
    VisitEvent findOne(VisitEvent visitEvent); 
 | 
  
 | 
    /** 
 | 
     * 条件查询 
 | 
     * 
 | 
     * @param visitEvent 实体对象 
 | 
     * @return List<VisitEvent> 
 | 
     */ 
 | 
    List<VisitEvent> findList(VisitEvent visitEvent); 
 | 
  
 | 
    /** 
 | 
     * 分页查询 
 | 
     * 
 | 
     * @param pageWrap 分页对象 
 | 
     * @return PageData<VisitEvent> 
 | 
     */ 
 | 
    PageData<VisitEvent> findPage(PageWrap<VisitEvent> pageWrap); 
 | 
  
 | 
    /** 
 | 
     * 条件统计 
 | 
     * 
 | 
     * @param visitEvent 实体对象 
 | 
     * @return long 
 | 
     */ 
 | 
    long count(VisitEvent visitEvent); 
 | 
  
 | 
  
 | 
    /** 
 | 
     * 分页查询 
 | 
     * 
 | 
     * @param pageWrap 分页对象 
 | 
     * @return PageData<VisitEvent> 
 | 
     */ 
 | 
    PageData<VisitEvent> findVisitPage(PageWrap<VisitEvent> pageWrap); 
 | 
  
 | 
  
 | 
    /** 
 | 
     * 导出 
 | 
     * @param pageWrap 分页对象 
 | 
     * @return PageData<VisitEventVo> 
 | 
     */ 
 | 
    List<VisitEvent> findPageExcel(PageWrap<VisitEvent> pageWrap); 
 | 
  
 | 
    VisitEventCountVO countNum(VisitEvent model); 
 | 
} 
 |