refactor(任务中心): 去除多余注释
This commit is contained in:
parent
5adcbb3173
commit
8fc1ceea92
|
@ -7,7 +7,6 @@ import io.metersphere.commons.utils.Pager;
|
||||||
import io.metersphere.task.dto.TaskCenterDTO;
|
import io.metersphere.task.dto.TaskCenterDTO;
|
||||||
import io.metersphere.task.dto.TaskCenterRequest;
|
import io.metersphere.task.dto.TaskCenterRequest;
|
||||||
import io.metersphere.task.service.TaskService;
|
import io.metersphere.task.service.TaskService;
|
||||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
|
@ -25,7 +24,6 @@ public class TaskController {
|
||||||
request.setPageSize(pageSize);
|
request.setPageSize(pageSize);
|
||||||
Page<Object> page = PageHelper.startPage(goPage, pageSize, true);
|
Page<Object> page = PageHelper.startPage(goPage, pageSize, true);
|
||||||
return PageUtils.setPageInfo(page, taskService.getTasks(request));
|
return PageUtils.setPageInfo(page, taskService.getTasks(request));
|
||||||
// return taskService.getTasks(request);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/case/{id}")
|
@GetMapping("/case/{id}")
|
||||||
|
|
|
@ -20,5 +20,6 @@ public class TaskCenterRequest {
|
||||||
private String executor;
|
private String executor;
|
||||||
|
|
||||||
private int goPage;
|
private int goPage;
|
||||||
|
|
||||||
private int pageSize;
|
private int pageSize;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue