package com.chinaweal.aiccs.aiccs.revoke.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chinaweal.aiccs.aiccs.revoke.entity.Tsbizrevlist;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Lee
 * @since 2021-03-26
 */
public interface TsbizrevlistMapper extends BaseMapper<Tsbizrevlist> {

    IPage<Tsbizrevlist> queryRevocationTzsList(IPage<Tsbizrevlist> page);

    IPage<Tsbizrevlist> queryRevocationJdsList(IPage<Tsbizrevlist> page);

    IPage<Tsbizrevlist> queryRevocationTzsByNameList(IPage<Tsbizrevlist> page, @Param("params") Map<String, Object> pram);

    IPage<Tsbizrevlist> queryRevocationJdsByNameList(IPage<Tsbizrevlist> page, @Param("params")Map<String, Object> pram);

    IPage<Tsbizrevlist> selectNoOpenRevListPage(IPage<Tsbizrevlist> page, @Param("paramMap")Map<String, Object> paramMap);

    List<Tsbizrevlist> selectBizRevEntList(@Param("param")Tsbizrevlist bizrevlistParam);

    IPage<Tsbizrevlist> selectRevEntPage(IPage<Tsbizrevlist> page,@Param("paramMap")Map<String, Object> param);

    List<Tsbizrevlist> selectInBiz(@Param("pripid")String pripid);

    IPage<Tsbizrevlist> getForceLogoutNoticetPage(IPage<Tsbizrevlist> page,@Param("paramMap")Map<String, Object> param);

    List<Tsbizrevlist> selectInZxBiz(@Param("pripid") String pripid);
}
