YH-zlh
2023-09-06 85d7d8d3444dd931190603349cd4d961a9fd9114
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/project/service/ProjectCostService.java
@@ -18,6 +18,7 @@
import me.zhengjie.modules.project.domain.ProjectCost;
import me.zhengjie.modules.project.service.dto.ProjectCostDto;
import me.zhengjie.modules.project.service.dto.ProjectCostQueryCriteria;
import org.springframework.data.domain.Pageable;
import java.text.ParseException;
@@ -25,6 +26,7 @@
import java.util.List;
import java.io.IOException;
import java.math.BigDecimal;
import java.sql.Timestamp;
import javax.servlet.http.HttpServletResponse;
@@ -79,6 +81,8 @@
    ProjectCost getCost(ProjectCostQueryCriteria criteria) throws ParseException;
   Double getHours(ProjectCostQueryCriteria criteria) throws ParseException;
    /**
    * 导出数据
    * @param all 待导出的数据
@@ -87,5 +91,5 @@
    */
    void download(List<ProjectCostDto> all, HttpServletResponse response) throws IOException;
   BigDecimal calcUserCostByDate(Long userId, String enterProjectTime, String exitProjectTime, Map<String, Double> costHoursMap) throws Exception;
   BigDecimal calcUserCostByDate(Long userId, Timestamp enterProjectTime, Timestamp exitProjectTime, Map<String, Double> costHoursMap);
}