|
|
|
@ -192,8 +192,7 @@ public class TaskServiceImpl implements TaskService {
|
|
|
|
|
|
|
|
|
|
public R<PageVO<TaskDetailDTO>> apiGetTaskPage(TaskPageDTO pageDTO){ |
|
|
|
|
PageUtil.startPage(pageDTO); |
|
|
|
|
LambdaQueryWrapperX<TaskDO> lambdaQueryWrapperX = new LambdaQueryWrapperX<>(); |
|
|
|
|
List<TaskDO> taskDOList = taskMapper.selectList(lambdaQueryWrapperX); |
|
|
|
|
List<TaskDO> taskDOList = taskMapper.selectList(TaskDO::getPretendDelete, false); |
|
|
|
|
List<TaskDetailDTO> taskList = BeanUtil.copyToList(taskDOList, TaskDetailDTO.class); |
|
|
|
|
PageVO<TaskDetailDTO> pageVO = PageUtil.convertPageInfo(taskList); |
|
|
|
|
return R.success(pageVO); |
|
|
|
|