refactor(任务中心): 去除多余注释

This commit is contained in:
fit2-zhao 2021-11-16 16:08:21 +08:00 committed by fit2-zhao
parent 5adcbb3173
commit 8fc1ceea92
2 changed files with 1 additions and 2 deletions

View File

@ -7,7 +7,6 @@ import io.metersphere.commons.utils.Pager;
import io.metersphere.task.dto.TaskCenterDTO;
import io.metersphere.task.dto.TaskCenterRequest;
import io.metersphere.task.service.TaskService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
@ -25,7 +24,6 @@ public class TaskController {
request.setPageSize(pageSize);
Page<Object> page = PageHelper.startPage(goPage, pageSize, true);
return PageUtils.setPageInfo(page, taskService.getTasks(request));
// return taskService.getTasks(request);
}
@GetMapping("/case/{id}")

View File

@ -20,5 +20,6 @@ public class TaskCenterRequest {
private String executor;
private int goPage;
private int pageSize;
}