package com.yd.csf.service.service;

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.extension.service.IService;

/**
 * <p>
 * 薪资单表 服务类
 * </p>
 *
 * @author zxm
 * @since 2026-05-08
 */
public interface ISalaryService extends IService<Salary> {

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

    IPage<ApiSalaryPushPageResponse> pushPage(Page<ApiSalaryPushPageResponse> page,
                                              ApiSalaryPushPageRequest request);


    Salary queryOne(String brokerBizId,String month,
                    String salaryBizId,Boolean isExcludeMy);

    Salary queryOne(String salaryBizId);
}
