|  |  |  | 
|---|
|  |  |  | import com.doumee.core.model.PageData; | 
|---|
|  |  |  | import com.doumee.core.model.PageWrap; | 
|---|
|  |  |  | import com.doumee.dao.business.model.Visits; | 
|---|
|  |  |  | import com.doumee.dao.web.reqeust.AuditApproveDTO; | 
|---|
|  |  |  | import com.doumee.dao.web.reqeust.ErpVisitDTO; | 
|---|
|  |  |  | import com.doumee.dao.web.reqeust.VisitRecordDTO; | 
|---|
|  |  |  | import com.doumee.dao.web.response.VisitDetailVO; | 
|---|
|  |  |  | import com.doumee.dao.web.response.VisitRecordVO; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return Integer | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | Integer create(Visits visits); | 
|---|
|  |  |  | Integer createFk(Visits visits); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Integer createFk(Visits visits,Boolean isERP); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void createFKForErp(ErpVisitDTO erpVisitDTO); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 主键删除 | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | PageData<Visits> findPage(PageWrap<Visits> pageWrap); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | PageData<Visits> retentionPage(PageWrap<Visits> pageWrap); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 条件统计 | 
|---|
|  |  |  | * | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return long | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | long count(Visits visits); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 访客记录详情 - 微信公众号 | 
|---|
|  |  |  | * @param id | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | VisitDetailVO getVisitDetail(Integer id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 内部人员 任务中心 | 
|---|
|  |  |  | * @param param | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | PageData<VisitRecordVO> taskCenter(PageWrap<VisitRecordDTO> param); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 访客记录审批流审批 | 
|---|
|  |  |  | * @param auditApproveDTO | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void auditApprove(AuditApproveDTO auditApproveDTO); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | void  visitLevel(Integer visitId); | 
|---|
|  |  |  | } | 
|---|