修改了查询结项后不能查看的问题

master
yang.yongquan 2022-07-13 16:09:28 +08:00
parent 7dbf52d915
commit aa7f9612da
1 changed files with 0 additions and 6 deletions

View File

@ -117,9 +117,6 @@ public class TaskController {
@RequestHeader(TokenUtils.HEADER_TOKEN) String token,
@PathVariable Integer projectId
) {
if (!projectService.checkOpenStatus(projectId)) {
throw new BadRequestException(IProjectService.PROJECT_UNOPENED);
}
return ResponseMap.ofSuccess("查询成功", taskService.getProjectProcessOfEveryone(token, projectId));
}
@ -130,9 +127,6 @@ public class TaskController {
@PathVariable Integer projectId,
@PathVariable(required = false) Integer staffId
) {
if (!projectService.checkOpenStatus(projectId)) {
throw new BadRequestException(IProjectService.PROJECT_UNOPENED);
}
return ResponseList.ofSuccess("查询成功", taskService.getProjectStatistics(token, projectId, staffId));
}