package com.yifu.cloud.plus.v1.business.service.vacation.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.business.entity.vacation.TBusLeave;
import com.yifu.cloud.plus.v1.business.mapper.vacation.TBusLeaveMapper;
import com.yifu.cloud.plus.v1.business.service.vacation.TBusLeaveService;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * B端离职信息表
 *
 * @author hgw
 * @date 2021-08-17 17:02:47
 */
@Service("tBusLeaveService")
public class TBusLeaveServiceImpl extends ServiceImpl<TBusLeaveMapper, TBusLeave> implements TBusLeaveService {

     /**
      * B端离职信息表简单分页查询
      *
      * @param tBusLeave B端离职信息表
      * @return
      */
     @Override
     public IPage<TBusLeave> getTBusLeavePage(Page<TBusLeave> page, TBusLeave tBusLeave) {
          return baseMapper.getTBusLeavePage(page, tBusLeave);
     }

     @Override
     public List<TBusLeave> getTBusLeaveList(TBusLeave tBusLeave) {
          return baseMapper.getTBusLeaveList(tBusLeave);
     }

}
