package com.cool.store.service;

import com.cool.store.context.LoginUserInfo;
import com.cool.store.entity.AuditStatusDO;
import com.cool.store.request.AuditCheckRequest;
import com.cool.store.request.AuditDetailRequest;
import com.cool.store.response.AuditDetailResponse;
import com.cool.store.response.CheckListResponse;
import com.github.pagehelper.PageInfo;

import java.util.Date;
import java.util.List;

public interface AuditStatusService {


    /**
     * 稽核
     * @return
     */
    Boolean audit(AuditCheckRequest request, LoginUserInfo user);

    /**
     *插入数据
     * @return
     */
    int insert(Long lineId,
               Long interviewId,
               Long auditId,
               Integer auditStage);

    AuditDetailResponse detail(AuditDetailRequest request);

    /**
     * 稽核列表
     * @param partnerNameOrPhone 关键字
     * @param time 时间
     * @param region 意向区域
     * @param checkStatus 稽核状态
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageInfo<CheckListResponse> checkList(String partnerNameOrPhone, String startTime, String endTime, String region, Integer checkStatus, Integer checkStage, Integer pageNum, Integer pageSize);
}
