package com.ruoyi.oa.mapper;

import com.ruoyi.oa.domain.vo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SalaryDashboardMapper {
    
    CardMetricsVo queryCardMetrics(@Param("year") Long year, @Param("month") Long month);
    
    List<MonthlyExpenditureVo> queryMonthlyExpenditures(@Param("year") Long year);
    
    List<SalaryComponentVo> querySalaryComponents(@Param("year") Long year, @Param("month") Long month);
    
    List<LineChartPointVo> queryLineChartData(@Param("year") Long year);
    
    List<DepartmentStatVo> queryDepartmentStats(@Param("year") Long year, @Param("month") Long month);
}