package com.yifu.cloud.plus.v1.business.mapper.vacation;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.business.entity.vacation.TBusLeave;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * B端离职信息表
 *
 * @author hgw
 * @date 2021-08-17 17:02:47
 */
@Mapper
public interface TBusLeaveMapper extends BaseMapper<TBusLeave> {
     /**
      * B端离职信息表简单分页查询
      *
      * @param tBusLeave B端离职信息表
      * @return
      */
     IPage<TBusLeave> getTBusLeavePage(Page<TBusLeave> page, @Param("tBusLeave") TBusLeave tBusLeave);

     List<TBusLeave> getTBusLeaveList(@Param("tBusLeave") TBusLeave tBusLeave);

}
