package com.ruoyi.xq.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.xq.domain.UserInfoAudit;
import com.ruoyi.xq.dto.admin.useraudit.UserInfoAuditAdminVo;
import com.ruoyi.xq.dto.app.common.IdsReq;
import com.ruoyi.xq.enums.user.UserInfoAuditTypeEnum;

/**
 * 用户信息审核Service接口
 *
 * @author 77
 * @date 2024-03-04
 */
public interface UserInfoAuditService extends IService<UserInfoAudit> {
    /**
     *  查询审核中的数据
     * @param userId
     * @param auditTypeEnum
     * @return
     */
    UserInfoAudit getAuditingDataByUserIdAndType(Long userId, UserInfoAuditTypeEnum auditTypeEnum);

    Page<UserInfoAuditAdminVo> pageAdmin(PageQuery pageQuery, UserInfoAuditAdminVo bo);

    void auditSuccess(String ids);

    void auditFail(Long id, String auditRemark);
}
