package com.yd.csf.service.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yd.csf.feign.request.salary.ApiSalaryPageRequest;
import com.yd.csf.feign.request.salary.ApiSalaryPushPageRequest;
import com.yd.csf.feign.response.salary.ApiSalaryPageResponse;
import com.yd.csf.feign.response.salary.ApiSalaryPushPageResponse;
import com.yd.csf.service.model.Salary;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 薪资单表 Mapper 接口
 * </p>
 *
 * @author zxm
 * @since 2026-05-08
 */
public interface SalaryMapper extends BaseMapper<Salary> {

    IPage<ApiSalaryPageResponse> page(@Param("page") Page<ApiSalaryPageResponse> page,
                                      @Param("request") ApiSalaryPageRequest request);

    IPage<ApiSalaryPushPageResponse> pushPage(@Param("page") Page<ApiSalaryPushPageResponse> page,
                                              @Param("request") ApiSalaryPushPageRequest request);
}
