[xingyu.guo] feat: 补充返回内容 1. taskDescription 2. lastLearningStatus
This commit is contained in:
@@ -39,13 +39,12 @@ public class TasksServiceImpl extends ServiceImpl<TasksMapper, TaskEntity>
|
||||
|
||||
|
||||
private final TasksMapper tasksMapper;
|
||||
private final TaskConvertImpl taskConvertImpl;
|
||||
|
||||
@Override
|
||||
public Page<TaskInfo> taskList(Integer pageNum, Integer pageSize) {
|
||||
Page<TaskEntity> page = tasksMapper.selectPage(new Page<TaskEntity>(pageNum, pageSize), Wrappers.lambdaQuery(TaskEntity.class));
|
||||
//todo 补充返回内容
|
||||
Page<TaskInfo> response = taskConvertImpl.MAPPER.toTaskInfoPage(page);
|
||||
Page<TaskInfo> response = TaskConvert.MAPPER.toTaskInfoPage(page);
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user