package cn.wisenergy.service; import cn.wisenergy.model.dto.GetMonthlyCollectParam; import cn.wisenergy.model.dto.UserWorkTimeStatisticsByProject; import cn.wisenergy.model.dto.WorkTimeAndCostCollect; import com.github.pagehelper.PageInfo; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import java.util.List; public interface StatisticsService { /** * 获取部门所有员工每天工时 * @param param 参数对象 * @return */ PageInfo getDayWorkTimeOfMonth(GetMonthlyCollectParam param); /** * 获取用户本月填报和审批情况,权限为填报时只有填报情况 * @param userId * @return */ List<Object> getMonthlyStatistics(Integer userId); /** * 获取负责项目在本月的工时汇总:花费工时,工时成本 * @param userId */ List<WorkTimeAndCostCollect> getCurrentMonthWorkTimeCollect(Integer userId, String startTime); /** * 导出一个部门下员工一个月中每天的工时 * @param param * @return */ HSSFWorkbook exportWorkTimeExcel(GetMonthlyCollectParam param); /** * 获取用户所在未结项目的工时统计 * @param startDate * @param endDate * @param status * @return */ List<UserWorkTimeStatisticsByProject> getUserWorkTimeStatisticsReport(Integer userId, String startDate, String endDate, Integer status); }