package com.hzs.ground.supplier.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.ground.supplier.ThSupplierApply;
import com.hzs.ground.supplier.vo.ThSupplierApplyVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 供应商申请申请 Mapper 接口
 */
public interface ThSupplierApplyMapper extends BaseMapper<ThSupplierApply> {

    /**
     * 供应商申请列表
     **/
    List<ThSupplierApplyVO> queryThSupplierApplyList(ThSupplierApplyVO thSupplierApplyVO);

    /**
     * 查询登录管理员是否为供应商
     **/
    Integer queryThSupplierApplyUserList(@Param("useId") Long userId);
}
