This commit is contained in:
@@ -507,6 +507,10 @@ class GrowthPathService:
|
|||||||
completed_count = len(completed_node_ids)
|
completed_count = len(completed_node_ids)
|
||||||
total_progress = (completed_count / total_nodes * 100) if total_nodes > 0 else 0
|
total_progress = (completed_count / total_nodes * 100) if total_nodes > 0 else 0
|
||||||
|
|
||||||
|
logger.info(f"成长路径 {growth_path.id} 返回 {len(stages)} 个阶段, {total_nodes} 个节点")
|
||||||
|
for s in stages:
|
||||||
|
logger.info(f" 阶段 '{s.name}': {len(s.nodes)} 个节点")
|
||||||
|
|
||||||
return TraineeGrowthPathResponse(
|
return TraineeGrowthPathResponse(
|
||||||
id=growth_path.id,
|
id=growth_path.id,
|
||||||
name=growth_path.name,
|
name=growth_path.name,
|
||||||
|
|||||||
Reference in New Issue
Block a user