package com.ruoyi.oa.mapper;

import com.ruoyi.oa.domain.OaEmployeeTemplateBinding;
import com.ruoyi.oa.domain.vo.OaEmployeeTemplateBindingVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

/**
 * 员工模板绑定及月度发放记录Mapper接口
 *
 * @author ruoyi
 * @date 2025-06-23
 */
public interface OaEmployeeTemplateBindingMapper extends BaseMapperPlus<OaEmployeeTemplateBindingMapper, OaEmployeeTemplateBinding, OaEmployeeTemplateBindingVo> {
    OaEmployeeTemplateBinding findByEmployeeAndMonth(@Param("employeeId") Long employeeId,
                                                     @Param("payYear") Long payYear,
                                                     @Param("payMonth") Long payMonth);
}
