
package org.sky.scientific.mapper;

import org.sky.scientific.pojo.entity.SalaryEntity;
import org.sky.scientific.pojo.vo.SalaryVO;
import org.sky.scientific.excel.SalaryExcel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 技术人员工资表 Mapper 接口
 *
 * @author Kd
 * @since 2025-06-19
 */
public interface SalaryMapper extends BaseMapper<SalaryEntity> {

	/**
	 * 自定义分页
	 *
	 * @param page 分页参数
	 * @param salary 查询参数
	 * @return List<SalaryVO>
	 */
	List<SalaryVO> selectSalaryPage(IPage page, @Param("salary") SalaryVO salary);


	/**
	 * 获取导出数据
	 *
	 * @param queryWrapper 查询条件
	 * @return List<SalaryExcel>
	 */
	List<SalaryExcel> exportSalary(@Param("ew") Wrapper<SalaryEntity> queryWrapper);

}
