fix: 修复getTaskList方法未填充任务关联信息的问题

This commit is contained in:
Your Name 2026-01-13 13:53:17 +08:00
parent 0907bb19f4
commit 0e87c48d30

View File

@ -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;
}
/**