| | |
| | | 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; |
| | |
| | | import java.util.List; |
| | | import java.io.IOException; |
| | | import java.math.BigDecimal; |
| | | import java.sql.Timestamp; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | |
| | | |
| | | ProjectCost getCost(ProjectCostQueryCriteria criteria) throws ParseException; |
| | | |
| | | Double getHours(ProjectCostQueryCriteria criteria) throws ParseException; |
| | | |
| | | /** |
| | | * 导出数据 |
| | | * @param all 待导出的数据 |
| | |
| | | */ |
| | | 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); |
| | | } |