package com.hz.pm.api.dashboard.manage;

import com.google.common.collect.Lists;
import com.hz.pm.api.dashboard.model.vo.PerformanceStatisticsVO;
import com.hz.pm.api.performance.service.IPerformanceAppraisalProjectService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @Classname PerformanceStatisticsManage
 * @Description
 * @Date 2023/12/05 17:44
 * @Author PoffyZhang
 */
@Component
@RequiredArgsConstructor
@Slf4j
public class PerformanceStatisticsManage {

    private final IPerformanceAppraisalProjectService performanceAppraisalProjectService;

    List<Integer> thisTwoYears = Lists.newArrayList(LocalDateTime.now().getYear() - 1
            ,LocalDateTime.now().getYear());

    public PerformanceStatisticsVO statistics(Integer year) {
        PerformanceStatisticsVO res = new PerformanceStatisticsVO();

        return res;
    }
}
