fix: 修复getTaskList方法未填充任务关联信息的问题
This commit is contained in:
parent
0907bb19f4
commit
0e87c48d30
@ -607,7 +607,14 @@ public class TaskService {
|
||||
// 按更新时间倒序
|
||||
wrapper.orderByDesc(Task::getUpdateTime);
|
||||
|
||||
return taskMapper.selectPage(pageParam, wrapper);
|
||||
IPage<Task> result = taskMapper.selectPage(pageParam, wrapper);
|
||||
|
||||
// 填充关联信息
|
||||
for (Task task : result.getRecords()) {
|
||||
fillTaskRelatedInfo(task);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user