|
@@ -211,8 +211,8 @@ public class ProjectController {
|
|
|
* 导出查询者所在公司每个项目的工时成本
|
|
|
*/
|
|
|
@RequestMapping("/exportTimeCost")
|
|
|
- public HttpRespMsg exportTimeCost(String startDate, String endDate, Integer projectId, String userId, Boolean projectSum,Integer type,Integer deptId) {
|
|
|
- return projectService.exportTimeCost(startDate, endDate, projectId, userId, projectSum,type,deptId, request);
|
|
|
+ public HttpRespMsg exportTimeCost(String startDate, String endDate, Integer projectId, String userId, Boolean projectSum,Integer type,Integer deptId,@RequestParam(defaultValue = "1") Integer stateKey) {
|
|
|
+ return projectService.exportTimeCost(startDate, endDate, projectId, userId, projectSum,type,deptId,stateKey, request);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -241,7 +241,7 @@ public class ProjectController {
|
|
|
* id 项目id
|
|
|
*/
|
|
|
@RequestMapping("/getProjectCost")
|
|
|
- public HttpRespMsg getProjectCost(String startDate, String endDate, @RequestParam Integer id,@RequestParam(defaultValue = "0") Integer stateKey) {
|
|
|
+ public HttpRespMsg getProjectCost(String startDate, String endDate, @RequestParam Integer id,@RequestParam(defaultValue = "1") Integer stateKey) {
|
|
|
return projectService.getProjectCost(startDate, endDate, id,stateKey, request);
|
|
|
}
|
|
|
|