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

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.salary.TBusSalaryItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * B端-薪酬明细表
 *
 * @author hgw
 * @date 2021-09-06 11:10:32
 */
@Mapper
public interface TBusSalaryItemMapper extends BaseMapper<TBusSalaryItem> {
     /**
      * B端-薪酬明细表简单分页查询
      *
      * @param tBusSalaryItem B端-薪酬明细表
      * @return
      */
     IPage<TBusSalaryItem> getTBusSalaryItemPage(Page<TBusSalaryItem> page, @Param("tBusSalaryItem") TBusSalaryItem tBusSalaryItem);

     List<TBusSalaryItem> getListBySalaryId(@Param("salaryIdList") List<String> salaryIdList);

}
